Class FixedWeekdayRelativeToFixedParser

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

    public class FixedWeekdayRelativeToFixedParser
    extends Object
    implements de.focus_shift.jollyday.core.parser.HolidayParser
    Parses fixed weekday relative to fixed date.
    • Constructor Detail

      • FixedWeekdayRelativeToFixedParser

        public FixedWeekdayRelativeToFixedParser()
    • 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