Package org.dmfs.rfc5545.recurrenceset
Class FastForwarded
java.lang.Object
org.dmfs.rfc5545.recurrenceset.FastForwarded
- All Implemented Interfaces:
Iterable<org.dmfs.rfc5545.DateTime>,RecurrenceSet
A
RecurrenceSet that fast forwards the iteration to a given instant.
All instances prior to that instant will be skipped.-
Constructor Summary
ConstructorsConstructorDescriptionFastForwarded(org.dmfs.rfc5545.DateTime fastForwardTo, Iterable<RecurrenceSet> delegate) FastForwarded(org.dmfs.rfc5545.DateTime timeStamp, RecurrenceSet delegate) FastForwarded(org.dmfs.rfc5545.DateTime fastForwardTo, RecurrenceSet... delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether thisRecurrenceSetis infinite or not.iterator()Returns anInstanceIteratorfor thisRecurrenceSet.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FastForwarded
-
FastForwarded
-
FastForwarded
-
-
Method Details
-
iterator
Description copied from interface:RecurrenceSetReturns anInstanceIteratorfor thisRecurrenceSet.- Specified by:
iteratorin interfaceIterable<org.dmfs.rfc5545.DateTime>- Specified by:
iteratorin interfaceRecurrenceSet
-
isInfinite
public boolean isInfinite()Description copied from interface:RecurrenceSetReturns whether thisRecurrenceSetis infinite or not.- Specified by:
isInfinitein interfaceRecurrenceSet
-