Swat/SwatTimeEntry.php
protected function isStartTimeValid()
    {
        $this->valid_range_start->setYear(self::$date_year);
        $this->valid_range_start->setMonth(self::$date_month);
        $this->valid_range_start->setDay(self::$date_day);
        $this->valid_range_start->setTZById('UTC');

        return SwatDate::compare(
            $this->value,
            $this->valid_range_start,
            true
        ) >= 0;
    }
protected function isStartTimeValid()
    {
        $this->valid_range_start->setYear(self::$date_year);
        $this->valid_range_start->setMonth(self::$date_month);
        $this->valid_range_start->setDay(self::$date_day);
        $this->valid_range_start->setTZById('UTC');

        return SwatDate::compare(
            $this->value,
            $this->valid_range_start,
            true
        ) >= 0;
    }
protected function isStartTimeValid ( ) { $ this -> valid_range_start -> setYear ( self :: $ date_year ) ; $ this -> valid_range_start -> setMonth ( self :: $ date_month ) ; $ this -> valid_range_start -> setDay ( self :: $ date_day ) ; $ this -> valid_range_start -> setTZById ( 'UTC' ) ; return SwatDate :: compare ( $ this -> value , $ this -> valid_range_start , true ) >= 0 ; }
Checks if the entered time is valid with respect to the valid start
time

@return boolean true if the entered time is on or after the valid start
time and false if the entered time is before the valid
start time.
Checks if the entered time is valid with respect to the valid start time