Class RuleInstances
java.lang.Object
org.dmfs.rfc5545.iterable.instanceiterable.RuleInstances
- All Implemented Interfaces:
InstanceIterable
Implements
InstanceIterable for a RecurrenceRule. That only iterates instances that match the RecurrenceRule.
Any non-synchronized first instance is not returned.-
Constructor Summary
ConstructorsConstructorDescriptionRuleInstances(RecurrenceRule rule) Create a new adapter for the given rule and start. -
Method Summary
Modifier and TypeMethodDescriptioniterator(org.dmfs.rfc5545.DateTime firstInstance) Return anInstanceIteratorfor the given first instance.
-
Constructor Details
-
RuleInstances
Create a new adapter for the given rule and start.- Parameters:
rule- The recurrence rule to adapt to.
-
-
Method Details
-
iterator
Description copied from interface:InstanceIterableReturn anInstanceIteratorfor the given first instance.- Specified by:
iteratorin interfaceInstanceIterable
-