Module de.focus_shift.jollyday.core
Class RelativeToEasterSundayParser
- java.lang.Object
-
- de.focus_shift.jollyday.core.parser.impl.RelativeToEasterSundayParser
-
- All Implemented Interfaces:
de.focus_shift.jollyday.core.parser.HolidayParser
public class RelativeToEasterSundayParser extends Object implements de.focus_shift.jollyday.core.parser.HolidayParser
This parser creates holidays relative to easter sunday.
-
-
Constructor Summary
Constructors Constructor Description RelativeToEasterSundayParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Holiday>parse(int year, Holidays holidays)Parses for the provided year using theHolidaysconfig and adds to the set of holidays.
-
-
-
Method Detail
-
parse
public List<Holiday> parse(int year, Holidays holidays)
Description copied from interface:de.focus_shift.jollyday.core.parser.HolidayParserParses for the provided year using theHolidaysconfig and adds to the set of holidays.- Specified by:
parsein interfacede.focus_shift.jollyday.core.parser.HolidayParser- Parameters:
year- the year to parse the holiday forholidays- theHolidaysconfig to use for parsing- Returns:
- the list of holidays
-
-