}
String recurrenceExc = kEvent.getRecurrenceExc();
if(recurrenceExc != null && !recurrenceExc.equals("")) {
try {
ExDate exdate = new ExDate();
// expected date+time format:
// 20100730T100000
// unexpected all-day format:
// 20100730
// see OLAT-5645
if (recurrenceExc.length()>8) {
exdate.setValue(recurrenceExc);
} else {
exdate.getParameters().replace(Value.DATE);
exdate.setValue(recurrenceExc);
}
for( Object date : exdate.getDates() ) {
if(recurDates.contains(date)) recurDates.remove(date);
}
} catch (ParseException e) {
Tracing.createLoggerFor(getClass()).error("cannot restore excluded dates for this recurrence: " + recurrenceExc, e);
}