protected function isEndTimeValid()
    {
        $this->valid_range_end->setYear(self::$date_year);
        $this->valid_range_end->setMonth(self::$date_month);
        $this->valid_range_end->setDay(self::$date_day);
        $this->valid_range_end->setTZById('UTC');

        return SwatDate::compare($this->value, $this->valid_range_end, true) <=
            0;
    }