Kronolith_Driver::nextRecurrence PHP Method

nextRecurrence() public method

Finds the next recurrence of $eventId that's after $afterDate.
public nextRecurrence ( string $eventId, Horde_Date $afterDate ) : Horde_Date | boolean
$eventId string The ID of the event to fetch.
$afterDate Horde_Date Return events after this date.
return Horde_Date | boolean The date of the next recurrence or false if the event does not recur after $afterDate.
    public function nextRecurrence($eventId, $afterDate)
    {
        $event = $this->getEvent($eventId);
        return $event->recurs() ? $event->recurrence->nextRecurrence($afterDate) : false;
    }