/** * {@inheritDoc} * * Parses relative to easter sunday holidays. */ @Override public void parse(int year, Set<Holiday> holidays, Holidays config) { for (RelativeToEasterSunday ch : config.getRelativeToEasterSunday()) { if (!isValid(ch, year)) { continue; } LocalDate easterSunday = getEasterSunday(year, ch.getChronology()).plusDays(ch.getDays()); String propertiesKey = PREFIX_PROPERTY_CHRISTIAN + ch.getDescriptionPropertiesKey(); addChristianHoliday(easterSunday, propertiesKey, ch.getLocalizedType(), holidays); } }