public function validateDate()
    {
        if (
            ($from = $this->getAvailableFrom()) &&
            ($till = $this->getAvailableTill()) &&
            $from->InPast() &&
            $till->InFuture()
        ) {
            return true;
        }

        return false;
    }
public function validateDate()
    {
        if (
            ($from = $this->getAvailableFrom()) &&
            ($till = $this->getAvailableTill()) &&
            $from->InPast() &&
            $till->InFuture()
        ) {
            return true;
        }

        return false;
    }
public function validateDate ( ) { if ( ( $ from = $ this -> getAvailableFrom ( ) ) && ( $ till = $ this -> getAvailableTill ( ) ) && $ from -> InPast ( ) && $ till -> InFuture ( ) ) { return true ; } return false ; }
Validate if the start and end date are in the past and the future
todo check start time and treshhold

@return bool
Validate if the start and end date are in the past and the future todo check start time and treshhold