Module org.holiday.calendar.western


module org.holiday.calendar.western
Holiday Calendar western module.

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);