/PHP-8.3/ext/date/tests/ |
H A D | rfc-datetime_and_daylight_saving_time-type3-bd2.phpt | 18 $tz = new DateTimeZone('America/New_York'); 25 $end->setTimeZone($tz); 31 $end->setTimeZone($tz); 37 $end->setTimeZone($tz); 43 $end->setTimeZone($tz); 49 $end->setTimeZone($tz);
|
H A D | bug67118_2.phpt | 9 $tz = new DateTimeZone('UTC'); 12 parent::__construct($time, $tz); 16 parent::__construct($time.'C', $tz);
|
H A D | timezone_transitions_get_basic1.phpt | 11 $tz = timezone_open("Europe/London"); 13 $tran = timezone_transitions_get($tz); 16 $tran = timezone_transitions_get($tz, -306972000, -37241999);
|
H A D | bug52290.phpt | 5 $tz = 'UTC'; 6 date_default_timezone_set($tz); 10 $dt->setTimezone(new DateTimeZone($tz));
|
H A D | bug66019.phpt | 5 $tz = new DateTimeZone("Europe/Amsterdam"); 6 $dateObject = new DateTime( '2012-02-02T10', $tz );
|
H A D | bug81504.phpt | 8 $tz = new DateTimeZone('Europe/Amsterdam'); 9 foreach ($tz->getTransitions(strtotime("1996-01-01"), strtotime("1997-12-31")) as $tr) {
|
H A D | bug48058.phpt | 8 $tz = new DateTimeZone("Europe/London"); 9 $tran = $tz->getTransitions();
|
H A D | mktime-3.phpt | 12 foreach ($tzs as $tz) { 13 echo $tz, "\n"; 14 date_default_timezone_set($tz);
|
H A D | bug45543.phpt | 18 $tz = $d1->getTimeZone(); 19 $d2->setTimeZone($tz);
|
H A D | bug75167.phpt | 5 $tz = new DateTimeZone('Europe/London'); // A timezone that has DST 9 $date = new DateTime("2014-3-30 00:00:00", $tz);
|
H A D | timezone_offset_get_error.phpt | 7 $tz = timezone_open("Europe/London"); 38 var_dump( timezone_offset_get($tz, $invalid_obj) ); 45 var_dump( timezone_offset_get($tz, $invalid_obj) ); 52 var_dump( timezone_offset_get($tz, $invalid_obj) );
|
H A D | mktime-3-64bit.phpt | 12 foreach ($tzs as $tz) { 13 echo $tz, "\n"; 14 date_default_timezone_set($tz);
|
H A D | bug62561.phpt | 5 $tz = new DateTimeZone('America/New_York'); 6 $ts = new DateTime('@1341115200', $tz);
|
H A D | date_format_timezone.phpt | 6 $tz = array("UTC", "Europe/London", "Europe/Berlin", "America/Chicago"); 8 foreach ($tz as $zone) {
|
H A D | bug80963.phpt | 11 $tz = new DateTimeZone($tzid); 12 $t = $tz->getTransitions();
|
H A D | bug62896.phpt | 7 $tz = new DateTimeZone('Europe/Berlin'); 20 $date->setTimezone($tz); 28 $date = new DateTime('2012-08-22 00:00:00 CEST', $tz);
|
H A D | rfc-datetime_and_daylight_saving_time-type3-bs.phpt | 9 $tz = new DateTimeZone('America/New_York'); 18 $end->setTimeZone($tz); 43 $end->setTimeZone($tz); 50 $end->setTimeZone($tz); 63 $end->setTimeZone($tz);
|
H A D | bug78139.phpt | 18 $tz = timezone_open($string); 19 var_dump($tz); 22 $tz = new \DateTimeZone($string);
|
/PHP-8.3/ext/intl/common/ |
H A D | common_date.cpp | 49 : ((php_timezone_obj*)object)->tzi.tz->name; in timezone_convert_datetimezone() 97 U_CFUNC int intl_datetime_decompose(zval *z, double *millis, TimeZone **tz, in intl_datetime_decompose() argument 111 if (tz) { in intl_datetime_decompose() 112 *tz = NULL; in intl_datetime_decompose() 135 if (tz) { in intl_datetime_decompose() 147 *tz = TimeZone::getGMT()->clone(); in intl_datetime_decompose() 149 *tz = timezone_convert_datetimezone(datetime->time->zone_type, in intl_datetime_decompose() 151 if (*tz == NULL) { in intl_datetime_decompose()
|
/PHP-8.3/ext/intl/tests/ |
H A D | timezone_hasSameRules_error.phpt | 16 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 18 var_dump($tz->hasSameRules('foo')); 25 var_dump(intltz_has_same_rules(null, $tz));
|
H A D | timezone_IDforWindowsID_basic2.phpt | 17 foreach ($tzs as $tz => $regions) { 18 echo "** $tz\n"; 20 var_dump(IntlTimeZone::getIDForWindowsID($tz, $region));
|
H A D | timezone_IDforWindowsID_basic.phpt | 18 foreach ($tzs as $tz => $regions) { 19 echo "** $tz\n"; 21 var_dump(IntlTimeZone::getIDForWindowsID($tz, $region));
|
H A D | timezone_getDisplayName_error.phpt | 9 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 10 var_dump($tz->getDisplayName(false, -1));
|
H A D | timezone_toDateTimeZone_error.phpt | 9 $tz = IntlTimeZone::createTimeZone('Etc/Unknown'); 12 var_dump($tz->toDateTimeZone());
|
/PHP-8.3/ext/date/lib/ |
H A D | unixtime2tm.c | 123 timelib_tzinfo *tz = tm->tz_info; in timelib_unixtime2local() local 140 gmt_offset = timelib_get_time_zone_info(ts, tz); in timelib_unixtime2local() 147 tm->tz_info = tz; in timelib_unixtime2local() 191 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz) in timelib_set_timezone() argument 195 gmt_offset = timelib_get_time_zone_info(t->sse, tz); in timelib_set_timezone() 204 t->tz_info = tz; in timelib_set_timezone()
|