You are here

public function DateRecurRRule::getOccurrences in Recurring Dates Field 8

Get occurrences, optionally limited by a start date, end date and count.

Parameters

null|\DateTime $start:

null|\DateTime $end:

null|int $num:

Return value

array

2 calls to DateRecurRRule::getOccurrences()
DateRecurRRule::getNextOccurrences in src/DateRecurRRule.php
Get the next occurrences after a start date.
DateRecurRRule::getOccurrencesBetween in src/DateRecurRRule.php
Get occurrences between a start and an end date.

File

src/DateRecurRRule.php, line 202

Class

DateRecurRRule

Namespace

Drupal\date_recur

Code

public function getOccurrences($start = NULL, $end = NULL, $num = NULL) {
  return $this
    ->createOccurrences($start, $end, $num);
}