Lines Matching refs:hours
22 // if DST will be changed between the hours.
38 $hours = array();
40 $hours = array_merge($hours, $this->getRangeForExpression($part, 23));
44 $position = $invert ? count($hours) - 1 : 0;
45 if (count($hours) > 1) {
46 for ($i = 0; $i < count($hours) - 1; $i++) {
47 if ((!$invert && $current_hour >= $hours[$i] && $current_hour < $hours[$i + 1]) ||
48 ($invert && $current_hour > $hours[$i] && $current_hour <= $hours[$i + 1])) {
55 $hour = $hours[$position];