public static function hours(int $step = 1, bool $long = false, int $start = null) : array
    {
        if ($start === null) $start = ($long === FALSE) ? 1 : 0;
        $end = ($long === true) ? 23 : 12;

        return Date::_range($step, $start, $end, true);
    }
public static function hours(int $step = 1, bool $long = false, int $start = null) : array
    {
        if ($start === null) $start = ($long === FALSE) ? 1 : 0;
        $end = ($long === true) ? 23 : 12;

        return Date::_range($step, $start, $end, true);
    }
public static function hours ( int $ step = 1 , bool $ long = false , int $ start = null ) : array { if ( $ start === null ) $ start = ( $ long === FALSE ) ? 1 : 0 ; $ end = ( $ long === true ) ? 23 : 12 ; return Date :: _range ( $ step , $ start , $ end , true ) ; }
Get number of hours, incrementing by a step.

$hours = Date::hours();

@param  int  $step  Amount to increment each step by, 1 to 30
@param  bool $long  Start value
@param  int  $start End value
@return array
Get number of hours incrementing by a step .