public class JapaneseHolidayManager extends DefaultHolidayManager
JapaneseHolidayManager class.
configuration
calendarUtil
Constructor and Description |
---|
JapaneseHolidayManager() |
Modifier and Type | Method and Description |
---|---|
Set<Holiday> |
getHolidays(int year,
String... args)
Returns the holidays for the requested year and hierarchy structure.
|
doInit, getCalendarHierarchy, getHolidays, logHierarchy, validateConfigurationHierarchy
clearManagerCache, getConfigurationDataSource, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getManagerParameter, getSupportedCalendarCodes, init, isHoliday, isHoliday, isManagerCachingEnabled, setConfigurationDataSource, setManagerCachingEnabled
public Set<Holiday> getHolidays(int year, String... args)
Set<LocalDate> getHolidays(int year, Configuration c, String... args)
with the configuration from initialization.
Implements the rule which requests if two holidays have one non holiday
between each other than this day is also a holiday.getHolidays
in class DefaultHolidayManager
year
- i.e. 2010args
- i.e. args = {'ny'}. returns US/New York holidays. No args ->
holidays common to whole countryCopyright © 18.01.2010–2015. All rights reserved.