shop_soldes_window
French SALE WINDOWS as DATES, computed from the arrête replayed 24-nov-2026 (arrêté du 27 mai 2019, NOR ECOI1911930A, in force since 1-Jan-2020 art. 4). The grammar is CLOSED and BOTH seasons carry an advance clause: winter starts the SECOND Wednesday of January 08:00, ADVANCED to the first when that second Wednesday falls AFTER the 12th — strict, 2028-01-12 stays, 2027-01-13 moves to Jan 6 (the calendar site printing 'until Tuesday 9 February' for 2027 applied the clause's absence: the pain caught in the act). Summer starts the LAST Wednesday of June 08:00, moved back to the penultimate when the last falls after the 28th — so été 2027 opens June 23, not June 30. Duration is art. 3: four weeks, the start day COUNTED (end = start + 27, verified against four official vectors). Then the part no calendar site carries: SEVEN annual derogations, each shipped with its verbatim and its JORF — été 2020 fixed to Wed 15 July (arrêté 10-juin-2020, also named for 06/2A/2B/66); winter 2021 fixed to Wed 20 January (arrêté 23-déc-2020, + 54/55/57/88/971) then PORTÉE À SIX SEMAINES (arrêté 15-févr-2021 — 20 janv -> 2 mars; La Réunion, Saint-Barthélemy and Saint-Martin EXCLUDED by name, four weeks); été 2021 fixed to 30 June — with MOSSELLE alone at 26 June (arrêté 15-juin-2021, the line no press table copies); Guadeloupe été 2021 moved to Thursday 7 October (arrêté 23-sept-2021); été 2023 and été 2026 CARRIED TO FIVE WEEKS (arrêtés 6-juill-2023, 3-juill-2026 — canicule; service-public A15000: 'devaient se terminer le 21 juillet [...] jusqu'au mardi 28 juillet'), scoped by PREDICATE on the text, not by memory: 2026 counts départements whose date comes from Article 1, which is why Moselle's SUMMER gets five weeks while Corsica keeps four. The annex is VERSIONED: the 21-avril-2023 arrêté (in force 17 May 2023) removed rows 06, 66, 973 — windows beginning before it keep the initial line (Perpignan été 2022 July 6; guyane hiver 2023 Jan 4), after it the common rule (moneyvox's 'Guyane 5 October 2023' recycled an ABROGATED line — the press artifact this tool exists to refuse). East-4 départements open 'premier jour ouvré' — the word is undefined: strict OUVRÉ (Mon-Fri, 1er excluded) is first, the OUVRABLE reading (Saturday counts, what tpeactu/france.fr print) travels as a NAMED conflict only when the two dates differ — which is 2027 (Jan 2 vs Jan 4), not every year. Saint-Pierre counts 'premier mercredi APRÈS le 15 janvier' — after STRICT: 2025-01-15 IS the Wednesday, so the window opens the 22nd. Territory is the CLOSED annex table (codes, names, cities, 'lorraine', 'corse' fan out); foreign calendars — Belgium, Luxembourg, Switzerland, Quebec, UK — are REFUSED BY NAME: this table replays only the French arrêté and lends dates no memory. Years before 2020 are refused with art. 4 verbatim. as_of is an argument: 'Dans 43 jours' is arithmetic, not a clock. No network, no wall clock, no shopping advice. Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"year": "<year>"
},
"name": "shop_soldes_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | 2020..9999 — the arrêté's art. 4 gate; before 2020 prefectal arrêtés governed, not replayed | |
| as_of | No | ISO day for status and days_to_start — never a wall clock | |
| season | No | hiver | ete | both (default both) | |
| territory | No | metropole | 06|2A|2B|54|55|57|66|88|971|972|973|974|975|976|977|978 | names | lorraine|corse — closed table; foreign names refused by their fact of being out of table |