Home
last modified time | relevance | path

Searched refs:tz (Results 76 – 88 of 88) sorted by last modified time

1234

/php-src/ext/date/tests/
H A Dbug62896.phpt7 $tz = new DateTimeZone('Europe/Berlin');
20 $date->setTimezone($tz);
28 $date = new DateTime('2012-08-22 00:00:00 CEST', $tz);
H A Dbug64992.phpt7 $tz = 'America/Los_Angeles';
16 echo "Time Zone offset for $tz for " , $dt->format('Y-m-d') , " is $gmto\n";
H A Dbug66019.phpt5 $tz = new DateTimeZone("Europe/Amsterdam");
6 $dateObject = new DateTime( '2012-02-02T10', $tz );
H A Dbug67118_2.phpt9 $tz = new DateTimeZone('UTC');
12 parent::__construct($time, $tz);
16 parent::__construct($time.'C', $tz);
H A Dbug68549-dst-transition-DateTime-setTimestamp.phpt133 $tz = new DateTimeZone($timezone);
134 $dt = new DateTime('now', $tz);
H A Dbug68549-dst-transition-DateTime-setTimezone.phpt133 $tz = new DateTimeZone($timezone);
135 $dt->setTimezone($tz);
H A Dbug74274.phpt5 $tz = new DateTimeZone("Europe/Paris");
6 $startDate = new \DateTime('2018-10-28 00:00:00', $tz);
7 $endDateBuggy = new \DateTime('2018-10-29 23:00:00', $tz);
H A Dbug45543.phpt18 $tz = $d1->getTimeZone();
19 $d2->setTimeZone($tz);
H A Dbug48058.phpt8 $tz = new DateTimeZone("Europe/London");
9 $tran = $tz->getTransitions();
H A DDateTimeZone_getTransitions_basic1.phpt11 $tz = new DateTimeZone("Europe/London");
13 $tran = $tz->getTransitions(-306972000, -37241999);
H A DDateTimeZone_getTransitions_bug1.phpt11 $tz = new DateTimeZone($tzid);
12 foreach ($tz->getTransitions($from, $to) as $t) {
H A D004.phpt7 $tz = array("UTC", "Asia/Jerusalem", "America/Chicago", "Europe/London");
10 foreach ($tz as $zone) {
/php-src/ext/date/lib/
H A Dparse_posix.c508 trans_begin += tz->posix_info->dst_begin->hour; in timelib_get_transitions_for_year()
509 trans_begin -= tz->posix_info->std_offset; in timelib_get_transitions_for_year()
512 trans_end += calc_transition(tz->posix_info->dst_end, year); in timelib_get_transitions_for_year()
513 trans_end += tz->posix_info->dst_end->hour; in timelib_get_transitions_for_year()
514 trans_end -= tz->posix_info->dst_offset; in timelib_get_transitions_for_year()
540 if (!tz->posix_info->dst_end) { in timelib_fetch_posix_timezone_offset()
542 *transition_time = tz->trans[tz->bit64.timecnt - 1]; in timelib_fetch_posix_timezone_offset()
544 return &(tz->type[tz->posix_info->type_index_std_type]); in timelib_fetch_posix_timezone_offset()
552 timelib_get_transitions_for_year(tz, year - 1, &transitions); in timelib_fetch_posix_timezone_offset()
553 timelib_get_transitions_for_year(tz, year, &transitions); in timelib_fetch_posix_timezone_offset()
[all …]

Completed in 20 milliseconds

1234