Package org.dmfs.rfc5545.recurrenceset
Class OfList
java.lang.Object
org.dmfs.rfc5545.recurrenceset.OfList
- All Implemented Interfaces:
Iterable<org.dmfs.rfc5545.DateTime>,RecurrenceSet
A
RecurrenceSet of a given list of instances, typically provided in the form of RDATEs or EXDATEs.
Note, that this class does not support parsing the PERIOD type specified in
RFC 5545, section 3.3.9.
-
Constructor Summary
Constructors -
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
-
OfList
-
OfList
-
OfList
-
OfList
-
OfList
-
OfList
public OfList(org.dmfs.rfc5545.DateTime... instances) -
OfList
-
-
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
-