public function endsLater(\DateTime $date) {
    $later = FALSE;

    $t2 = $this->end_date->getTimeStamp();

    $t4 = $date->getTimestamp();

    if ($t2 > $t4) {
      $later = TRUE;
    }

    return $later;
  }
public function endsLater(\DateTime $date) {
    $later = FALSE;

    $t2 = $this->end_date->getTimeStamp();

    $t4 = $date->getTimestamp();

    if ($t2 > $t4) {
      $later = TRUE;
    }

    return $later;
  }
public function endsLater ( \ DateTime $ date ) { $ later = FALSE ; $ t2 = $ this -> end_date -> getTimeStamp ( ) ; $ t4 = $ date -> getTimestamp ( ) ; if ( $ t2 > $ t4 ) { $ later = TRUE ; } return $ later ; }
Checks if our event ends after the date supplied
@param \DateTime $date
@return bool
Checks if our event ends after the date supplied