protected CalendarEvent calendarEventFor(final Object domainObject, final String calendarName) {
final Calendarable calendarable = (Calendarable)domainObject;
final Map<String, CalendarEventable> calendarEvents = calendarable.getCalendarEvents();
final CalendarEventable calendarEventable = calendarEvents.get(calendarName);
return calendarEventable!=null
?calendarEventable.toCalendarEvent()
:null;
}
// //////////////////////////////////////