-
Notifications
You must be signed in to change notification settings - Fork 86
RSet
(version >= 1.1)
A RSet
object is a recurrence set. It can contains multiple recurrence rules (RRULE), exclusion rules (EXRULE), single dates (RDATE) and exclusion dates (EXDATE). The resulting occurrences will be a combination of all the rules and dates.
In addition to the Iterator
interface and the ArrayAccess
interface, the methods from the RRuleInterface are available. Please check the corresponding wiki page.
Occurrences are cached the first time they are calculated. If you use the RSet
instance multiple times, caching will improve the performance considerably.
Calling this method will clear the internal cache of the instance, and force it to recalculate the occurrences next time you try to them. DO NOT use this method while iterating the occurrences (i.e. inside a foreach loop).