1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2025-02-21 10:54:14 +01:00

Adding comments

This commit is contained in:
rlanvin 2016-03-14 12:29:17 +02:00
parent 7fab9eab83
commit 3efef919bd

View File

@ -628,6 +628,10 @@ class RRule implements \Iterator, \ArrayAccess, \Countable
}
/**
* Return all the occurrences in an array.
*
* For finite rules only.
*
* @return array
*/
public function getOccurrences()
@ -649,6 +653,11 @@ class RRule implements \Iterator, \ArrayAccess, \Countable
}
/**
* Return an array of all occurrences between two dates.
*
* @param date|null $begin Can be null to return all occurrences before $end
* @param date|null $end Can be null to return all occurrences after $begin
*
* @return array
*/
public function getOccurrencesBetween($begin, $end)