Skip to content
rlanvin edited this page Mar 23, 2016 · 12 revisions

(version >= 1.1)

Creation

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.

Iteration

ArrayAccess

Methods

In addition to the Iterator interface and the ArrayAccess interface, the methods from the RRuleInterface are available. Please check the corresponding wiki page.

Cache

Occurrences are cached the first time they are calculated. If you use the RSet instance multiple times, caching will improve the performance considerably.

clearCache()

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).

Clone this wiki locally