recurrenceEventsMap.clear();
Calendar begin = getBeginDay(getCurrentCalendar());
Calendar end = getEndDay(getCurrentCalendar());
end.add(Calendar.MILLISECOND, -1);
List<Event> allEvents = getEventInMonth(begin.getTimeInMillis(), end.getTimeInMillis());
<BUG>if (isInSpace()) {
List<String> publicCalendars  = Arrays.asList(getPublicCalendars());
Iterator<Event> iter = allEvents.iterator();
while (iter.hasNext()) {
Event evt = iter.next();
if (!publicCalendars.contains(evt.getCalendarId())) {
iter.remove();
}
}</BUG>
}

recurrenceEventsMap.clear();
Calendar begin = getBeginDay(getCurrentCalendar());
Calendar end = getEndDay(getCurrentCalendar());
end.add(Calendar.MILLISECOND, -1);
List<Event> allEvents = getEventInMonth(begin.getTimeInMillis(), end.getTimeInMillis());
if (isInSpace()) {
filterNonSpaceEvent(allEvents);
}
