33 $dtstart = isset($this->DTSTART) ? $this->DTSTART->getDateTime() : null;
35 $effectiveEnd = $dtstart;
36 if (!$this->DTSTART->hasTime()) {
37 $effectiveEnd = $effectiveEnd->modify(
'+1 day');
40 return ($start <= $effectiveEnd && $end > $dtstart);
71 'LAST-MODIFIED' =>
'?',
73 'RECURRENCE-ID' =>
'?',
103 'DTSTAMP' => date(
'Ymd\\THis\\Z'),
static getUUID()
Returns a pseudo-random v4 UUID.
getDefaults()
This method should return a list of default property values.
isInTimeRange(DateTimeInterface $start, DateTimeInterface $end)
Returns true or false depending on if the event falls in the specified time-range.