Class CalendarEventIterator
java.lang.Object
ch.tocco.nice2.optional.calendar.api.util.CalendarEventIterator
- All Implemented Interfaces:
Iterator<CalendarEvent>
Iterates over
CalendarEvent
s of one or more Calendar
s. This iterator is read-only, the
remove()
method is not supported.
If start- and end-date are specified, it will resolve RecurringEvent
s
to its recurrence sets.-
Constructor Summary
ConstructorDescriptionCalendarEventIterator
(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, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
CalendarEventIterator
-
CalendarEventIterator
-
CalendarEventIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<CalendarEvent>
-
getCalendar
-
next
- Specified by:
next
in interfaceIterator<CalendarEvent>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<CalendarEvent>
-