Class ChristianHolidayParser

  • All Implemented Interfaces:
    de.focus_shift.jollyday.core.parser.HolidayParser

    public class ChristianHolidayParser
    extends Object
    implements de.focus_shift.jollyday.core.parser.HolidayParser
    This parser creates christian holidays for the given year relative to easter sunday.
    • Constructor Detail

      • ChristianHolidayParser

        public ChristianHolidayParser()
    • Method Detail

      • parse

        public List<Holiday> parse​(int year,
                                   Holidays holidays)
        Description copied from interface: de.focus_shift.jollyday.core.parser.HolidayParser
        Parses for the provided year using the Holidays config and adds to the set of holidays.
        Specified by:
        parse in interface de.focus_shift.jollyday.core.parser.HolidayParser
        Parameters:
        year - the year to parse the holiday for
        holidays - the Holidays config to use for parsing
        Returns:
        the list of holidays