Class ChristianHolidayParser

  • All Implemented Interfaces:
    HolidayParser

    public class ChristianHolidayParser
    extends Object
    implements HolidayParser
    This parser creates christian holidays for the given year relative to easter sunday.
    Version:
    $Id: $
    Author:
    Sven Diedrichsen
    • Constructor Detail

      • ChristianHolidayParser

        public ChristianHolidayParser()
    • Method Detail

      • parse

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