42 if (!$this->
valid())
return;
66 return ($this->counter <= count($this->dates));
90 if (!$this->
valid())
return;
94 $this->dates[$this->counter - 1],
95 $this->startDate->getTimezone()
123 while ($this->
valid() && $this->currentDate < $dt) {
167 if (is_string($rdate)) {
168 $rdate = explode(
',', $rdate);
171 $this->dates = $rdate;
static parse($date, $referenceTz=null)
Parses either a Date or DateTime, or Duration value.
rewind()
Resets the iterator.
valid()
Returns whether the current item is a valid item for the recurrence iterator.
key()
Returns the current item number.
parseRDate($rdate)
This method receives a string from an RRULE property, and populates this class with all the values...
fastForward(DateTimeInterface $dt)
This method allows you to quickly go to the next occurrence after the specified date.
__construct($rrule, DateTimeInterface $start)
Creates the Iterator.
isInfinite()
Returns true if this recurring event never ends.
next()
Goes on to the next iteration.