Holiday Calendar 1.1.0 API
A library for definition and calculation of holiday calendars. This API
provides an extensible, service-loader-based framework for generating the
calendars used to determine when holidays occur and are observed worldwide.
Consumers can use only the regional modules they need, and third parties
can contribute new calendars by implementing
HolidayCalendarService.
Modules
This API is divided into three modules to enable client software to depend only on the regions it requires.
- holiday-calendar-core
- Core abstractions and API:
Holiday,HolidayCalendar,HolidayDate,HolidayCalendarFactory, and the functional interfacesObservanceandDateRoll. - holiday-calendar-western
- Holiday calendars for Western markets: United States NYSE (US), United States Federal Reserve (USD), Canada national (CA), Bank of Canada / Lynx (CAD), United Kingdom bank holidays (UK), Bank of England / CHAPS (GBP), SIX Swiss Exchange (CH), Swiss National Bank / SIC (CHF), Germany Xetra / FSE (DE), Euronext Paris (FR), Euro Area / ECB TARGET2 (EUR), Australian Securities Exchange (AU), and Reserve Bank of Australia (AUD).
- holiday-calendar-apac
- Holiday calendars for Asia-Pacific markets: Singapore SGX (SG), Tokyo Stock Exchange (JP), Bank of Japan (JPY), and People's Bank of China (CNY). Uses Time4J for accurate non-Gregorian date calculations such as Chinese New Year.
Modules
Module
Description
Holiday Calendar APAC module.
Holiday Calendar core API module.
Holiday Calendar western module.