Method |
Description |
|
__construct ( ) |
Constructor |
|
addDate ( mixed $date ) |
Add a RDATE (renamed Date for simplicy, since we don't support full RDATE syntax at the moment) |
|
addExDate ( mixed $date ) |
Add a EXDATE |
|
addExRule ( mixed $rrule ) |
Add a RRule with exclusion rules. |
|
addRRule ( mixed $rrule ) |
Add a RRule (or another RSet) |
|
clearCache ( ) |
Clear the cache. |
|
count ( ) : integer |
Returns the number of recurrences in this set. It will have go
through the whole recurrence, if this hasn't been done before, which
introduces a performance penality. |
|
current ( ) |
|
|
getDates ( ) : array |
Return the RDATE(s) contained in this set |
|
getExDates ( ) : array |
Return the EXDATE(s) contained in this set |
|
getExRules ( ) : array |
Return the EXRULE(s) contained in this set |
|
getOccurrences ( ) : array |
Return all the occurrences in an array of \DateTime. |
|
getOccurrencesBetween ( mixed $begin, mixed $end ) : array |
Return all the ocurrences after a date, before a date, or between two dates. |
|
getRRules ( ) : array |
Return the RRULE(s) contained in this set |
|
isFinite ( ) : boolean |
Return true if the rrule has an end condition, false otherwise |
|
isInfinite ( ) : boolean |
Return true if the rrule has no end condition (infite) |
|
key ( ) |
|
|
next ( ) |
|
|
occursAt ( mixed $date ) : boolean |
Return true if $date is an occurrence. |
|
offsetExists ( $offset ) |
|
|
offsetGet ( $offset ) |
|
|
offsetSet ( $offset, $value ) |
|
|
offsetUnset ( $offset ) |
|
|
rewind ( ) |
|
|
valid ( ) |
|
|