Expand description
holiday-rs: MVP library to get holidays and business-day utils.
- Countries: FR (France) for v0.1.0
- Exports: JSON/CSV helpers
- Utils:
next_holiday,is_business_day,business_days_between
Modules§
Structs§
Functions§
- business_
days_ between - Count business days in [start, end). If start >= end -> 0.
- get_
holidays - Return the list of holidays for a given
yearand ISO-like country code (MVP: “FR”). - is_
business_ day - Returns true if the date is a business day (Mon-Fri and not a holiday for
country). - next_
holiday - Return the next holiday strictly after
dateforcountry.