In Mexico the mandatory rest days come from Article 74 of the Ley Federal del Trabajo, and three of them move to a Monday each year. This counter applies the correct obligatory days — including the six-yearly presidential transition — so a date range gives the true number of working days for payroll and scheduling.
How it works
For each year the tool builds the obligatory rest-day set, optionally adds the five civic days, then walks the range:
fixed obligatory : 1 Jan, 1 May, 16 Sep, 25 Dec
moving Mondays : Constitution (1st Mon Feb), Benito Juarez (3rd Mon Mar),
Revolution (3rd Mon Nov)
transition day : 1 Oct in handover years (1 Dec in pre-2024 cycles)
optional civic : 5 Feb, 21 Mar, 5 May, 2 Nov, 20 Nov (only if enabled)
working day = Mon-Fri AND not in the applied holiday set
Example and notes
Because Constitution Day is the first Monday of February rather than the fifth, a range covering early February in different years lands on different dates — let the tool compute it. The presidential transition day is easy to forget: it only appears once every six years, so a 2024 range that crosses 1 October will show one extra obligatory day that a 2025 range will not. The non-obligatory civic days are off by default because they are not legally guaranteed days off.