public class ChristianHolidayParser extends RelativeToEasterSundayParser
calendarUtil, xmlUtil
Constructor and Description |
---|
ChristianHolidayParser() |
Modifier and Type | Method and Description |
---|---|
void |
parse(int year,
Set<Holiday> holidays,
de.jollyday.config.Holidays config)
Parses for the provided year using the
Holidays config and adds
to the set of holidays. |
addChristianHoliday
getEasterSunday, isValid, moveDate, shallBeMoved
public void parse(int year, Set<Holiday> holidays, de.jollyday.config.Holidays config)
Holidays
config and adds
to the set of holidays.
Parses relative to easter sunday holidays.
Parses all christian holidays relative to eastern.parse
in interface HolidayParser
parse
in class RelativeToEasterSundayParser
year
- the year to parse the holiday forholidays
- set to add the holiday toconfig
- the Holidays
config to use for parsingCopyright © 18.01.2010–2015. All rights reserved.