public void parse ( final int nYear , final HolidayMap aHolidayMap , final Holidays aConfig ) { for ( final RelativeToEasterSunday aDay : aConfig . getRelativeToEasterSunday ( ) ) { if ( ! isValid ( aDay , nYear ) ) continue ; final ChronoLocalDate aEasterSunday = getEasterSunday ( nYear , aDay . getChronology ( ) ) ; aEasterSunday . plus ( aDay . getDays ( ) , ChronoUnit . DAYS ) ; final String sPropertiesKey = "christian." + aDay . getDescriptionPropertiesKey ( ) ; addChrstianHoliday ( aEasterSunday , sPropertiesKey , XMLHolidayHelper . getType ( aDay . getLocalizedType ( ) ) , aHolidayMap ) ; } }
Parses relative to Easter Sunday holidays .