public function getDtEnd()
    {
        if (!$this->valid()) {
            return;
        }
        $end = clone $this->currentDate;

        return $end->modify('+'.$this->eventDuration.' seconds');
    }
public function getDtEnd()
    {
        if (!$this->valid()) {
            return;
        }
        $end = clone $this->currentDate;

        return $end->modify('+'.$this->eventDuration.' seconds');
    }
public function getDtEnd ( ) { if ( ! $ this -> valid ( ) ) { return ; } $ end = clone $ this -> currentDate ; return $ end -> modify ( '+' . $ this -> eventDuration . ' seconds' ) ; }
This method returns the end date for the current iteration of the
event.

@return DateTimeImmutable
This method returns the end date for the current iteration of the event .