Home
last modified time | relevance | path

Searched refs:transitions (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/date/lib/
H A Dparse_posix.c517 transitions->times[transitions->count ] = trans_begin; in timelib_get_transitions_for_year()
518 transitions->times[transitions->count+1] = trans_end; in timelib_get_transitions_for_year()
519 transitions->types[transitions->count ] = tz->posix_info->type_index_dst_type; in timelib_get_transitions_for_year()
520 transitions->types[transitions->count+1] = tz->posix_info->type_index_std_type; in timelib_get_transitions_for_year()
522 transitions->times[transitions->count+1] = trans_begin; in timelib_get_transitions_for_year()
523 transitions->times[transitions->count ] = trans_end; in timelib_get_transitions_for_year()
524 transitions->types[transitions->count+1] = tz->posix_info->type_index_dst_type; in timelib_get_transitions_for_year()
525 transitions->types[transitions->count ] = tz->posix_info->type_index_std_type; in timelib_get_transitions_for_year()
528 transitions->count += 2; in timelib_get_transitions_for_year()
557 for (i = 1; i < transitions.count; i++) { in timelib_fetch_posix_timezone_offset()
[all …]
H A Dtimelib.h1097 …transitions_for_year(timelib_tzinfo *tz, timelib_sll year, timelib_posix_transitions *transitions);
/php-src/ext/date/tests/
H A Dtimezone_transitions_get_basic1.phpt15 echo "\n-- Get all 60s transitions --\n";
19 echo "\n-- Total number of transitions: " . count($tran). " --\n";
28 -- Get all 60s transitions --
31 -- Total number of transitions: 18 --
H A DDateTimeZone_getTransitions_basic1.phpt19 echo "\n-- Total number of transitions: " . count($tran). " --\n";
28 -- Total number of transitions: 18 --
H A Dbug33415-1.phpt7 AM as per most DST transitions?\n";
25 AM as per most DST transitions?
H A Dbug74274.phpt2 Bug #74274 (Handling DST transitions correctly)
H A Drfc-datetime_and_daylight_saving_time-type3-bd2.phpt13 * For backward transitions, must create objects with zone type 2
/php-src/ext/opcache/tests/
H A Dssa_bug_011.phpt7 function foo($transitions) {
8 foreach ($transitions as $transition) {
/php-src/ext/date/
H A Dphp_date.c4398 timelib_posix_transitions transitions = { 0 }; in PHP_FUNCTION() local
4400 timelib_get_transitions_for_year(tzobj->tzi.tz, i, &transitions); in PHP_FUNCTION()
4402 for (j = 0; j < transitions.count; j++) { in PHP_FUNCTION()
4403 if (transitions.times[j] <= last_transition_ts) { in PHP_FUNCTION()
4406 if (transitions.times[j] < timestamp_begin) { in PHP_FUNCTION()
4409 if (transitions.times[j] > timestamp_end) { in PHP_FUNCTION()
4412 add_by_index(transitions.types[j], transitions.times[j]); in PHP_FUNCTION()

Completed in 28 milliseconds