<?php
/**
 * This class stands for XTimeOfDay EnumType
 * @subpackage Enumerations
 */
class XTimeOfDay
{
    /**
     * Constant for value 'No Office Hours'
     * @return string 'No Office Hours'
     */
    const VALUE_NO_OFFICE_HOURS = 'No Office Hours';
    /**
     * Constant for value '00:00'
     * @return string '00:00'
     */
    const VALUE_00_00 = '00:00';
    /**
     * Constant for value '00:15'
     * @return string '00:15'
     */
    const VALUE_00_15 = '00:15';
    /**
     * Constant for value '00:30'
     * @return string '00:30'
     */
    const VALUE_00_30 = '00:30';
    /**
     * Constant for value '00:45'
     * @return string '00:45'
     */
    const VALUE_00_45 = '00:45';
    /**
     * Constant for value '01:00'
     * @return string '01:00'
     */
    const VALUE_01_00 = '01:00';
    /**
     * Constant for value '01:15'
     * @return string '01:15'
     */
    const VALUE_01_15 = '01:15';
    /**
     * Constant for value '01:30'
     * @return string '01:30'
     */
    const VALUE_01_30 = '01:30';
    /**
     * Constant for value '01:45'
     * @return string '01:45'
     */
    const VALUE_01_45 = '01:45';
    /**
     * Constant for value '02:00'
     * @return string '02:00'
     */
    const VALUE_02_00 = '02:00';
    /**
     * Constant for value '02:15'
     * @return string '02:15'
     */
    const VALUE_02_15 = '02:15';
    /**
     * Constant for value '02:30'
     * @return string '02:30'
     */
    const VALUE_02_30 = '02:30';
    /**
     * Constant for value '02:45'
     * @return string '02:45'
     */
    const VALUE_02_45 = '02:45';
    /**
     * Constant for value '03:00'
     * @return string '03:00'
     */
    const VALUE_03_00 = '03:00';
    /**
     * Constant for value '03:15'
     * @return string '03:15'
     */
    const VALUE_03_15 = '03:15';
    /**
     * Constant for value '03:30'
     * @return string '03:30'
     */
    const VALUE_03_30 = '03:30';
    /**
     * Constant for value '03:45'
     * @return string '03:45'
     */
    const VALUE_03_45 = '03:45';
    /**
     * Constant for value '04:00'
     * @return string '04:00'
     */
    const VALUE_04_00 = '04:00';
    /**
     * Constant for value '04:15'
     * @return string '04:15'
     */
    const VALUE_04_15 = '04:15';
    /**
     * Constant for value '04:30'
     * @return string '04:30'
     */
    const VALUE_04_30 = '04:30';
    /**
     * Constant for value '04:45'
     * @return string '04:45'
     */
    const VALUE_04_45 = '04:45';
    /**
     * Constant for value '05:00'
     * @return string '05:00'
     */
    const VALUE_05_00 = '05:00';
    /**
     * Constant for value '05:15'
     * @return string '05:15'
     */
    const VALUE_05_15 = '05:15';
    /**
     * Constant for value '05:30'
     * @return string '05:30'
     */
    const VALUE_05_30 = '05:30';
    /**
     * Constant for value '05:45'
     * @return string '05:45'
     */
    const VALUE_05_45 = '05:45';
    /**
     * Constant for value '06:00'
     * @return string '06:00'
     */
    const VALUE_06_00 = '06:00';
    /**
     * Constant for value '06:15'
     * @return string '06:15'
     */
    const VALUE_06_15 = '06:15';
    /**
     * Constant for value '06:30'
     * @return string '06:30'
     */
    const VALUE_06_30 = '06:30';
    /**
     * Constant for value '06:45'
     * @return string '06:45'
     */
    const VALUE_06_45 = '06:45';
    /**
     * Constant for value '07:00'
     * @return string '07:00'
     */
    const VALUE_07_00 = '07:00';
    /**
     * Constant for value '07:15'
     * @return string '07:15'
     */
    const VALUE_07_15 = '07:15';
    /**
     * Constant for value '07:30'
     * @return string '07:30'
     */
    const VALUE_07_30 = '07:30';
    /**
     * Constant for value '07:45'
     * @return string '07:45'
     */
    const VALUE_07_45 = '07:45';
    /**
     * Constant for value '08:00'
     * @return string '08:00'
     */
    const VALUE_08_00 = '08:00';
    /**
     * Constant for value '08:15'
     * @return string '08:15'
     */
    const VALUE_08_15 = '08:15';
    /**
     * Constant for value '08:30'
     * @return string '08:30'
     */
    const VALUE_08_30 = '08:30';
    /**
     * Constant for value '08:45'
     * @return string '08:45'
     */
    const VALUE_08_45 = '08:45';
    /**
     * Constant for value '09:00'
     * @return string '09:00'
     */
    const VALUE_09_00 = '09:00';
    /**
     * Constant for value '09:15'
     * @return string '09:15'
     */
    const VALUE_09_15 = '09:15';
    /**
     * Constant for value '09:30'
     * @return string '09:30'
     */
    const VALUE_09_30 = '09:30';
    /**
     * Constant for value '09:45'
     * @return string '09:45'
     */
    const VALUE_09_45 = '09:45';
    /**
     * Constant for value '10:00'
     * @return string '10:00'
     */
    const VALUE_10_00 = '10:00';
    /**
     * Constant for value '10:15'
     * @return string '10:15'
     */
    const VALUE_10_15 = '10:15';
    /**
     * Constant for value '10:30'
     * @return string '10:30'
     */
    const VALUE_10_30 = '10:30';
    /**
     * Constant for value '10:45'
     * @return string '10:45'
     */
    const VALUE_10_45 = '10:45';
    /**
     * Constant for value '11:00'
     * @return string '11:00'
     */
    const VALUE_11_00 = '11:00';
    /**
     * Constant for value '11:15'
     * @return string '11:15'
     */
    const VALUE_11_15 = '11:15';
    /**
     * Constant for value '11:30'
     * @return string '11:30'
     */
    const VALUE_11_30 = '11:30';
    /**
     * Constant for value '11:45'
     * @return string '11:45'
     */
    const VALUE_11_45 = '11:45';
    /**
     * Constant for value '12:00'
     * @return string '12:00'
     */
    const VALUE_12_00 = '12:00';
    /**
     * Constant for value '12:15'
     * @return string '12:15'
     */
    const VALUE_12_15 = '12:15';
    /**
     * Constant for value '12:30'
     * @return string '12:30'
     */
    const VALUE_12_30 = '12:30';
    /**
     * Constant for value '12:45'
     * @return string '12:45'
     */
    const VALUE_12_45 = '12:45';
    /**
     * Constant for value '13:00'
     * @return string '13:00'
     */
    const VALUE_13_00 = '13:00';
    /**
     * Constant for value '13:15'
     * @return string '13:15'
     */
    const VALUE_13_15 = '13:15';
    /**
     * Constant for value '13:30'
     * @return string '13:30'
     */
    const VALUE_13_30 = '13:30';
    /**
     * Constant for value '13:45'
     * @return string '13:45'
     */
    const VALUE_13_45 = '13:45';
    /**
     * Constant for value '14:00'
     * @return string '14:00'
     */
    const VALUE_14_00 = '14:00';
    /**
     * Constant for value '14:15'
     * @return string '14:15'
     */
    const VALUE_14_15 = '14:15';
    /**
     * Constant for value '14:30'
     * @return string '14:30'
     */
    const VALUE_14_30 = '14:30';
    /**
     * Constant for value '14:45'
     * @return string '14:45'
     */
    const VALUE_14_45 = '14:45';
    /**
     * Constant for value '15:00'
     * @return string '15:00'
     */
    const VALUE_15_00 = '15:00';
    /**
     * Constant for value '15:15'
     * @return string '15:15'
     */
    const VALUE_15_15 = '15:15';
    /**
     * Constant for value '15:30'
     * @return string '15:30'
     */
    const VALUE_15_30 = '15:30';
    /**
     * Constant for value '15:45'
     * @return string '15:45'
     */
    const VALUE_15_45 = '15:45';
    /**
     * Constant for value '16:00'
     * @return string '16:00'
     */
    const VALUE_16_00 = '16:00';
    /**
     * Constant for value '16:15'
     * @return string '16:15'
     */
    const VALUE_16_15 = '16:15';
    /**
     * Constant for value '16:30'
     * @return string '16:30'
     */
    const VALUE_16_30 = '16:30';
    /**
     * Constant for value '16:45'
     * @return string '16:45'
     */
    const VALUE_16_45 = '16:45';
    /**
     * Constant for value '17:00'
     * @return string '17:00'
     */
    const VALUE_17_00 = '17:00';
    /**
     * Constant for value '17:15'
     * @return string '17:15'
     */
    const VALUE_17_15 = '17:15';
    /**
     * Constant for value '17:30'
     * @return string '17:30'
     */
    const VALUE_17_30 = '17:30';
    /**
     * Constant for value '17:45'
     * @return string '17:45'
     */
    const VALUE_17_45 = '17:45';
    /**
     * Constant for value '18:00'
     * @return string '18:00'
     */
    const VALUE_18_00 = '18:00';
    /**
     * Constant for value '18:15'
     * @return string '18:15'
     */
    const VALUE_18_15 = '18:15';
    /**
     * Constant for value '18:30'
     * @return string '18:30'
     */
    const VALUE_18_30 = '18:30';
    /**
     * Constant for value '18:45'
     * @return string '18:45'
     */
    const VALUE_18_45 = '18:45';
    /**
     * Constant for value '19:00'
     * @return string '19:00'
     */
    const VALUE_19_00 = '19:00';
    /**
     * Constant for value '19:15'
     * @return string '19:15'
     */
    const VALUE_19_15 = '19:15';
    /**
     * Constant for value '19:30'
     * @return string '19:30'
     */
    const VALUE_19_30 = '19:30';
    /**
     * Constant for value '19:45'
     * @return string '19:45'
     */
    const VALUE_19_45 = '19:45';
    /**
     * Constant for value '20:00'
     * @return string '20:00'
     */
    const VALUE_20_00 = '20:00';
    /**
     * Constant for value '20:15'
     * @return string '20:15'
     */
    const VALUE_20_15 = '20:15';
    /**
     * Constant for value '20:30'
     * @return string '20:30'
     */
    const VALUE_20_30 = '20:30';
    /**
     * Constant for value '20:45'
     * @return string '20:45'
     */
    const VALUE_20_45 = '20:45';
    /**
     * Constant for value '21:00'
     * @return string '21:00'
     */
    const VALUE_21_00 = '21:00';
    /**
     * Constant for value '21:15'
     * @return string '21:15'
     */
    const VALUE_21_15 = '21:15';
    /**
     * Constant for value '21:30'
     * @return string '21:30'
     */
    const VALUE_21_30 = '21:30';
    /**
     * Constant for value '21:45'
     * @return string '21:45'
     */
    const VALUE_21_45 = '21:45';
    /**
     * Constant for value '22:00'
     * @return string '22:00'
     */
    const VALUE_22_00 = '22:00';
    /**
     * Constant for value '22:15'
     * @return string '22:15'
     */
    const VALUE_22_15 = '22:15';
    /**
     * Constant for value '22:30'
     * @return string '22:30'
     */
    const VALUE_22_30 = '22:30';
    /**
     * Constant for value '22:45'
     * @return string '22:45'
     */
    const VALUE_22_45 = '22:45';
    /**
     * Constant for value '23:00'
     * @return string '23:00'
     */
    const VALUE_23_00 = '23:00';
    /**
     * Constant for value '23:15'
     * @return string '23:15'
     */
    const VALUE_23_15 = '23:15';
    /**
     * Constant for value '23:30'
     * @return string '23:30'
     */
    const VALUE_23_30 = '23:30';
    /**
     * Constant for value '23:45'
     * @return string '23:45'
     */
    const VALUE_23_45 = '23:45';
    /**
     * Constant for value '24:00'
     * @return string '24:00'
     */
    const VALUE_24_00 = '24:00';
    /**
     * Return true if value is allowed
     * @uses self::getValidValues()
     * @param mixed $value value
     * @return bool true|false
     */
    public static function valueIsValid($value)
    {
        return ($value === null) || in_array($value, self::getValidValues(), true);
    }
    /**
     * Return allowed values
     * @uses self::VALUE_NO_OFFICE_HOURS
     * @uses self::VALUE_00_00
     * @uses self::VALUE_00_15
     * @uses self::VALUE_00_30
     * @uses self::VALUE_00_45
     * @uses self::VALUE_01_00
     * @uses self::VALUE_01_15
     * @uses self::VALUE_01_30
     * @uses self::VALUE_01_45
     * @uses self::VALUE_02_00
     * @uses self::VALUE_02_15
     * @uses self::VALUE_02_30
     * @uses self::VALUE_02_45
     * @uses self::VALUE_03_00
     * @uses self::VALUE_03_15
     * @uses self::VALUE_03_30
     * @uses self::VALUE_03_45
     * @uses self::VALUE_04_00
     * @uses self::VALUE_04_15
     * @uses self::VALUE_04_30
     * @uses self::VALUE_04_45
     * @uses self::VALUE_05_00
     * @uses self::VALUE_05_15
     * @uses self::VALUE_05_30
     * @uses self::VALUE_05_45
     * @uses self::VALUE_06_00
     * @uses self::VALUE_06_15
     * @uses self::VALUE_06_30
     * @uses self::VALUE_06_45
     * @uses self::VALUE_07_00
     * @uses self::VALUE_07_15
     * @uses self::VALUE_07_30
     * @uses self::VALUE_07_45
     * @uses self::VALUE_08_00
     * @uses self::VALUE_08_15
     * @uses self::VALUE_08_30
     * @uses self::VALUE_08_45
     * @uses self::VALUE_09_00
     * @uses self::VALUE_09_15
     * @uses self::VALUE_09_30
     * @uses self::VALUE_09_45
     * @uses self::VALUE_10_00
     * @uses self::VALUE_10_15
     * @uses self::VALUE_10_30
     * @uses self::VALUE_10_45
     * @uses self::VALUE_11_00
     * @uses self::VALUE_11_15
     * @uses self::VALUE_11_30
     * @uses self::VALUE_11_45
     * @uses self::VALUE_12_00
     * @uses self::VALUE_12_15
     * @uses self::VALUE_12_30
     * @uses self::VALUE_12_45
     * @uses self::VALUE_13_00
     * @uses self::VALUE_13_15
     * @uses self::VALUE_13_30
     * @uses self::VALUE_13_45
     * @uses self::VALUE_14_00
     * @uses self::VALUE_14_15
     * @uses self::VALUE_14_30
     * @uses self::VALUE_14_45
     * @uses self::VALUE_15_00
     * @uses self::VALUE_15_15
     * @uses self::VALUE_15_30
     * @uses self::VALUE_15_45
     * @uses self::VALUE_16_00
     * @uses self::VALUE_16_15
     * @uses self::VALUE_16_30
     * @uses self::VALUE_16_45
     * @uses self::VALUE_17_00
     * @uses self::VALUE_17_15
     * @uses self::VALUE_17_30
     * @uses self::VALUE_17_45
     * @uses self::VALUE_18_00
     * @uses self::VALUE_18_15
     * @uses self::VALUE_18_30
     * @uses self::VALUE_18_45
     * @uses self::VALUE_19_00
     * @uses self::VALUE_19_15
     * @uses self::VALUE_19_30
     * @uses self::VALUE_19_45
     * @uses self::VALUE_20_00
     * @uses self::VALUE_20_15
     * @uses self::VALUE_20_30
     * @uses self::VALUE_20_45
     * @uses self::VALUE_21_00
     * @uses self::VALUE_21_15
     * @uses self::VALUE_21_30
     * @uses self::VALUE_21_45
     * @uses self::VALUE_22_00
     * @uses self::VALUE_22_15
     * @uses self::VALUE_22_30
     * @uses self::VALUE_22_45
     * @uses self::VALUE_23_00
     * @uses self::VALUE_23_15
     * @uses self::VALUE_23_30
     * @uses self::VALUE_23_45
     * @uses self::VALUE_24_00
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_NO_OFFICE_HOURS,
            self::VALUE_00_00,
            self::VALUE_00_15,
            self::VALUE_00_30,
            self::VALUE_00_45,
            self::VALUE_01_00,
            self::VALUE_01_15,
            self::VALUE_01_30,
            self::VALUE_01_45,
            self::VALUE_02_00,
            self::VALUE_02_15,
            self::VALUE_02_30,
            self::VALUE_02_45,
            self::VALUE_03_00,
            self::VALUE_03_15,
            self::VALUE_03_30,
            self::VALUE_03_45,
            self::VALUE_04_00,
            self::VALUE_04_15,
            self::VALUE_04_30,
            self::VALUE_04_45,
            self::VALUE_05_00,
            self::VALUE_05_15,
            self::VALUE_05_30,
            self::VALUE_05_45,
            self::VALUE_06_00,
            self::VALUE_06_15,
            self::VALUE_06_30,
            self::VALUE_06_45,
            self::VALUE_07_00,
            self::VALUE_07_15,
            self::VALUE_07_30,
            self::VALUE_07_45,
            self::VALUE_08_00,
            self::VALUE_08_15,
            self::VALUE_08_30,
            self::VALUE_08_45,
            self::VALUE_09_00,
            self::VALUE_09_15,
            self::VALUE_09_30,
            self::VALUE_09_45,
            self::VALUE_10_00,
            self::VALUE_10_15,
            self::VALUE_10_30,
            self::VALUE_10_45,
            self::VALUE_11_00,
            self::VALUE_11_15,
            self::VALUE_11_30,
            self::VALUE_11_45,
            self::VALUE_12_00,
            self::VALUE_12_15,
            self::VALUE_12_30,
            self::VALUE_12_45,
            self::VALUE_13_00,
            self::VALUE_13_15,
            self::VALUE_13_30,
            self::VALUE_13_45,
            self::VALUE_14_00,
            self::VALUE_14_15,
            self::VALUE_14_30,
            self::VALUE_14_45,
            self::VALUE_15_00,
            self::VALUE_15_15,
            self::VALUE_15_30,
            self::VALUE_15_45,
            self::VALUE_16_00,
            self::VALUE_16_15,
            self::VALUE_16_30,
            self::VALUE_16_45,
            self::VALUE_17_00,
            self::VALUE_17_15,
            self::VALUE_17_30,
            self::VALUE_17_45,
            self::VALUE_18_00,
            self::VALUE_18_15,
            self::VALUE_18_30,
            self::VALUE_18_45,
            self::VALUE_19_00,
            self::VALUE_19_15,
            self::VALUE_19_30,
            self::VALUE_19_45,
            self::VALUE_20_00,
            self::VALUE_20_15,
            self::VALUE_20_30,
            self::VALUE_20_45,
            self::VALUE_21_00,
            self::VALUE_21_15,
            self::VALUE_21_30,
            self::VALUE_21_45,
            self::VALUE_22_00,
            self::VALUE_22_15,
            self::VALUE_22_30,
            self::VALUE_22_45,
            self::VALUE_23_00,
            self::VALUE_23_15,
            self::VALUE_23_30,
            self::VALUE_23_45,
            self::VALUE_24_00,
        );
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
