Package-level declarations
Types
Easter computus used by HolidayDate.EasterOffset.
Holidays of one country, computed from rules. Build your own (company days off, observances) with the same HolidayRule types, or get a built-in one from PublicHolidays.
How a HolidayRule picks its date in a Gregorian year.
One holiday definition in a HolidayCalendar.
Kind of day, used to filter holidays.
What happens when a holiday falls on a weekend.
One holiday occurrence produced by HolidayCalendar.
DayInfoProvider that marks the holidays of calendar: DayInfo.label is the holiday name, DayInfo.isHoliday is true and DayInfo.priority is DayInfoPriority.PUBLIC_HOLIDAY, so it wins the label when combined with +, for example PublicHolidayDayInfoProvider(PublicHolidays.forCountry("US")!!) + LunarDayInfoProvider().
Built-in holiday calendars, written from each country's statutes and official government pages (sources are listed in the rule files). Rules are pure Kotlin: no network and no resource files.
Functions
Easter Sunday of year as a Gregorian date.