}
LocalDate day = calendarUtil.create(year, f.getDay());
day = moveDateToFirstOccurenceOfWeekday(f, day);
int days = determineNumberOfDays(f);
day = f.getWhen() == When.AFTER ? day.plusDays(days) : day.minusDays(days);
HolidayType type = xmlUtil.getType(f.getLocalizedType());
holidays.add(new Holiday(day, f.getDescriptionPropertiesKey(), type));
}
}