protected function DateRRuleCalc::get_other_results in Date 8
Processing other than BYDAY or BYMONTHDAY.
This is the simple fallback case, not looking for any specific day, just repeating the start date. The complete_rrule() code ensures this will only test TRUE for a DAILY or less frequency (like HOURLY).
1 call to DateRRuleCalc::get_other_results()
- DateRRuleCalc::compute in date_repeat/
lib/ Drupal/ date_repeat/ DateRRuleCalc.php
File
- date_repeat/
lib/ Drupal/ date_repeat/ DateRRuleCalc.php, line 303 - Code to compute the dates that match an iCal RRULE.
Class
Namespace
Drupal\date_repeatCode
protected function get_other_results() {
$this->current_day = clone $this->start_date;
$finished = FALSE;
$months = !empty($this->rrule['BYMONTH']) ? $this->rrule['BYMONTH'] : array();
while (!$finished) {
$this
->add_current_day();
$finished = $this
->is_finished();
$this->current_day
->add($this->jump);
}
}