Module org.holiday.calendar.western
Provides holiday calendar implementations and observances for Western
countries: Australia, Canada, France, Germany, Switzerland, the United
Kingdom, and the United States. Also provides the corresponding
equities-market/exchange trading calendars — ASX (XASX), Xetra (XETR),
London Stock Exchange (XLON), NYSE (XNYS), Euronext Paris (XPAR), Toronto
Stock Exchange (XTSE), and SIX Swiss Exchange (XSWX) — each distinct from
its national-holiday counterpart: market calendars additionally include
market-convention closures (e.g. Good Friday on NYSE) and, where
applicable, EARLY_CLOSE half-day sessions such as NYSE's Christmas
Eve/July 3rd/day-after-Thanksgiving 13:00 ET closes and ASX's 14:10 Sydney
Christmas Eve/New Year's Eve closes.
This module's HolidayCalendarService providers are consumed via
HolidayCalendarFactory in the core module:
HolidayCalendar nyse = new HolidayCalendarFactory().create("XNYS");
List<HolidayDate> holidays2026 = nyse.calculate(2026);
-
Packages
ExportsPackageDescriptionImplementations ofObservancefor holidays observed in Australia.Implementations ofObservancefor holidays observed exclusively in Canada.Christian moveable-feast observances shared across multiple Western (and MENA) calendars.Implementations ofObservancefor holidays observed exclusively on Xetra/Frankfurt Stock Exchange (Germany).Implementations ofObservancefor holidays observed in the European Union.Implementations ofObservancefor holidays observed exclusively on Euronext Paris (France).Implementations ofObservancefor holidays observed exclusively in the United Kingdom.Implementations ofObservancefor holidays observed exclusively in the United States.