Class CalendarEventIterator
java.lang.Object
ch.tocco.nice2.optional.calendar.api.util.CalendarEventIterator
- All Implemented Interfaces:
Iterator<CalendarEvent>
Iterates over
CalendarEvents of one or more Calendars. This iterator is read-only, the
remove() method is not supported.
If start- and end-date are specified, it will resolve RecurringEvents
to its recurrence sets.-
Constructor Summary
ConstructorsConstructorDescriptionCalendarEventIterator(Calendar... cals) CalendarEventIterator(DateTimeValue start, DateTimeValue end, Calendar... cals) CalendarEventIterator(DateTimeValue start, DateTimeValue end, Collection<Calendar> cals) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
CalendarEventIterator
-
CalendarEventIterator
-
CalendarEventIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<CalendarEvent>
-
getCalendar
-
next
- Specified by:
nextin interfaceIterator<CalendarEvent>
-
remove
public void remove()- Specified by:
removein interfaceIterator<CalendarEvent>
-