DTSTART)?$this->DTSTART->getDateTime():null; if ($dtstart) { $effectiveEnd = clone $dtstart; if (!$this->DTSTART->hasTime()) { $effectiveEnd->modify('+1 day'); } return ($start <= $effectiveEnd && $end > $dtstart); } return false; } }