/PHP-8.1/ext/date/tests/ |
H A D | mktime_basic1.phpt | 10 $hour = 10; 17 var_dump( mktime($hour) ); 18 var_dump( mktime($hour, $minute) ); 19 var_dump( mktime($hour, $minute, $sec) ); 20 var_dump( mktime($hour, $minute, $sec, $month) ); 21 var_dump( mktime($hour, $minute, $sec, $month, $day) ); 22 var_dump( mktime($hour, $minute, $sec, $month, $day, $year) );
|
H A D | bug27780.phpt | 19 "2004-04-07 00:00:00 +1 hour", 20 "2004-04-07 00:00:00 +2 hour", 49 1081317600 [2004-04-07 01:00:00 CDT] [2004-04-07 00:00:00 +1 hour] 50 1081321200 [2004-04-07 02:00:00 CDT] [2004-04-07 00:00:00 +2 hour] 64 1081292400 [2004-04-07 01:00:00 CEST] [2004-04-07 00:00:00 +1 hour] 79 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +1 hour] 80 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +2 hour] 94 1081270800 [2004-04-07 01:00:00 %s] [2004-04-07 00:00:00 +1 hour] 95 1081274400 [2004-04-07 02:00:00 %s] [2004-04-07 00:00:00 +2 hour] 109 1081310400 [2004-04-07 01:00:00 %s] [2004-04-07 00:00:00 +1 hour] [all …]
|
H A D | gmdate_variation9.phpt | 16 '12-hour format without leading zeros' => 'g', 17 '24-hour format without leading zeros' => 'G', 18 '12-hour format with leading zeros' => 'h', 19 '24-hour format with leading zeros' => 'H', 47 --12-hour format without leading zeros-- 51 --24-hour format without leading zeros-- 55 --12-hour format with leading zeros-- 59 --24-hour format with leading zeros--
|
H A D | date-lenient.phpt | 22 [hour] => 44 [hour] => 66 [hour] => 88 [hour] => 110 [hour] => 131 [hour] =>
|
H A D | gmmktime_variation7.phpt | 8 $hour = 8; 15 var_dump( gmmktime($hour) ); 18 var_dump( gmmktime($hour, $min) ); 21 var_dump( gmmktime($hour, $min, $sec) ); 24 var_dump( gmmktime($hour, $min, $sec, $mon) ); 27 var_dump( gmmktime($hour, $min, $sec, $mon, $day) );
|
H A D | date_parse_001.phpt | 25 ["hour"]=> 53 ["hour"]=> 81 ["hour"]=> 117 ["hour"]=> 147 ["hour"]=> 175 ["hour"]=> 203 ["hour"]=> 241 ["hour"]=> 277 ["hour"]=>
|
H A D | gmmktime_variation8.phpt | 8 $hour = 010; 16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) ); 19 $hour = 0x8; 27 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
|
H A D | idate_variation5.phpt | 14 '12 hour format' => 'h', 15 '24 hour format' => 'H', 35 --12 hour format-- 38 --24 hour format--
|
H A D | date_parse_basic1.phpt | 24 ["hour"]=> 52 ["hour"]=> 80 ["hour"]=>
|
H A D | gmmktime_basic.phpt | 8 $hour = 8; 16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
|
H A D | date-parse-by-format001.phpt | 15 [hour] => 0 36 [hour] => 0
|
H A D | bug30096.phpt | 21 function gm_date_check($hour, $minute, $second, $month, $day, $year) { 24 echo "gmmktime($hour,$minute,$second,$month,$day,$year): "; 27 $ts = gmmktime($hour, $minute, $second, $month, $day, $year);
|
H A D | gmstrftime_variation6.phpt | 14 'Hour as decimal by 24-hour format' => "%H", 15 'Hour as decimal by 12-hour format' => "%I", 33 --Hour as decimal by 24-hour format-- 41 --Hour as decimal by 12-hour format--
|
H A D | strftime_variation6.phpt | 15 'Hour as decimal by 24-hour format' => "%H", 16 'Hour as decimal by 12-hour format' => "%I", 34 --Hour as decimal by 24-hour format-- 42 --Hour as decimal by 12-hour format--
|
H A D | bug30532.phpt | 8 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +1 hour'))."\n"; 14 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +1 hour'))."\n";
|
H A D | mktime_error.phpt | 18 $hour = 10; 26 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $extra_arg) );
|
H A D | bug35499.phpt | 22 ["hour"]=> 58 ["hour"]=>
|
H A D | bug43075.phpt | 2 Bug #43075 (Support 24 as hour)
|
/PHP-8.1/ext/xsl/tests/ |
H A D | xslt010.phpt | 44 hour-in-day : NaN 45 minute-in-hour : NaN 62 hour-in-day : NaN 63 minute-in-hour : NaN 80 hour-in-day : NaN 81 minute-in-hour : NaN 98 hour-in-day : NaN 99 minute-in-hour : NaN 116 hour-in-day : NaN 117 minute-in-hour : NaN [all …]
|
H A D | xslt010_gt10129.phpt | 43 hour-in-day : NaN 44 minute-in-hour : NaN 61 hour-in-day : NaN 62 minute-in-hour : NaN 79 hour-in-day : NaN 80 minute-in-hour : NaN 97 hour-in-day : NaN 98 minute-in-hour : NaN 115 hour-in-day : NaN 116 minute-in-hour : NaN [all …]
|
/PHP-8.1/ext/date/lib/ |
H A D | timelib.c | 191 *hour = floor(h); in timelib_decimal_hour_to_hms() 192 *min = floor((h - *hour) * 60); in timelib_decimal_hour_to_hms() 193 *sec = (h - *hour - ((float) *min / 60)) * 3600; in timelib_decimal_hour_to_hms() 195 *hour = ceil(h); in timelib_decimal_hour_to_hms() 196 *min = 0 - ceil((h - *hour) * 60); in timelib_decimal_hour_to_hms() 197 *sec = 0 - (h - *hour - ((float) *min / -60)) * 3600; in timelib_decimal_hour_to_hms() 201 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h) in timelib_hms_to_decimal_hour() argument 203 if (hour >= 0) { in timelib_hms_to_decimal_hour() 204 *h = ((double)hour + (double)min / 60 + (double)sec / 3600); in timelib_hms_to_decimal_hour() 206 *h = ((double)hour - (double)min / 60 - (double)sec / 3600); in timelib_hms_to_decimal_hour() [all …]
|
H A D | parse_posix.c | 274 tmp->hour = read_offset(ptr); in read_transition_spec() 275 if (tmp->hour == TIMELIB_UNSET) { in read_transition_spec() 279 tmp->hour = -tmp->hour; in read_transition_spec() 295 tmp->hour = 2 * 3600; in timelib_posix_trans_info_ctor() 508 trans_begin += tz->posix_info->dst_begin->hour; in timelib_get_transitions_for_year() 513 trans_end += tz->posix_info->dst_end->hour; in timelib_get_transitions_for_year()
|
/PHP-8.1/Zend/tests/parameter_default_values/ |
H A D | internal_declaration_error_int.phpt | 7 …public function setTime(int $hour, int $minute, int $second = 0, bool $microsecond = false): DateT… 13 …:setTime(int $hour, int $minute, int $second = 0, bool $microsecond = false): DateTime must be com…
|
/PHP-8.1/ext/intl/calendar/ |
H A D | calendar.stub.php | 238 …public function set(int $year, int $month, int $dayOfMonth = UNKNOWN, int $hour = UNKNOWN, int $mi… argument 290 * @param int $hour 294 …uct($timezoneOrYear = UNKNOWN, $localeOrMonth = UNKNOWN, $day = UNKNOWN, $hour = UNKNOWN, $minute … argument
|
/PHP-8.1/ext/intl/dateformat/ |
H A D | dateformat_format.c | 97 hour, in internal_get_timestamp() local 112 hour = INTL_GET_ELEM(CALENDAR_HOUR); in internal_get_timestamp() 130 ucal_setDateTime(pcal, year, month, mday, hour, minute, second, &INTL_DATA_ERROR_CODE(dfo)); in internal_get_timestamp()
|