# Dayoff v0.2.0 - Table of Contents

## Pages

- [Dayoff](readme.md)

- Guides
  - [Rules](rules.md)

## Modules

- [Dayoff](Dayoff.md): Public holidays for 200+ countries, states and regions, offline.
- [Dayoff.Calendar.Bengali](Dayoff.Calendar.Bengali.md): The revised Bengali calendar as `date-bengali-revised` implements it: the
year starts on April 14th, months have 31 days for the first five and 30
for the rest, and the eleventh month gets a 31st day when the Gregorian
year it falls in is a leap year.

- [Dayoff.Calendar.Easter](Dayoff.Calendar.Easter.md): Easter Sunday in the Gregorian and the Julian (Orthodox) computus, the
Gauss algorithm as the reference implementation's `date-easter` has it.

- [Dayoff.Calendar.Jalaali](Dayoff.Calendar.Jalaali.md): The Jalaali (Persian) calendar, the arithmetic algorithm of `jalaali-js`
(Behrooz Khosravi, after Borkowski) which the reference implementation
uses. Valid for Jalaali years -61 to 3177.

- [Dayoff.Calendar.Julian](Dayoff.Calendar.Julian.md): Proleptic Julian calendar dates as Gregorian `Date`s, for rules like
`julian 12-25` (Orthodox Christmas).

- [Dayoff.Calendar.Tables](Dayoff.Calendar.Tables.md): The calendars that ship as lookup tables generated by `mix dayoff.sync`:
Hijri and Hebrew (from the reference parser's own tables), the Chinese,
Korean and Vietnamese lunisolar calendars with their solar terms, and the
equinox and solstice dates. Each file is decoded once into
`:persistent_term`.
- [Dayoff.Data](Dayoff.Data.md): Access to the holiday dataset in `priv/data/holidays.json`.
- [Dayoff.Holiday](Dayoff.Holiday.md): One holiday occurrence.
- [Dayoff.Parser](Dayoff.Parser.md): Turns a rule string like `"4th thursday in November"` or
`"substitutes 12-25 if saturday then previous friday"` into tokens.

