/PHP-7.0/ext/date/tests/ |
H A D | rfc-datetime_and_daylight_saving_time-type3-bd2.phpt | 20 $tz = new DateTimeZone('America/New_York'); 27 $end->setTimeZone($tz); 33 $end->setTimeZone($tz); 39 $end->setTimeZone($tz); 45 $end->setTimeZone($tz);
|
H A D | bug52290.phpt | 5 $tz = 'UTC'; 6 date_default_timezone_set($tz); 10 $dt->setTimezone(new DateTimeZone($tz));
|
H A D | timezone_transitions_get_basic1.phpt | 17 $tz = timezone_open("Europe/London"); 19 $tran = timezone_transitions_get($tz); 22 $tran = timezone_transitions_get($tz, -306972000, -37241999);
|
H A D | DateTimeZone_getOffset_error.phpt | 14 $tz = new DateTimeZone("Europe/London"); 20 var_dump( $tz->getOffset() ); 24 var_dump( $tz->getOffset($date, $extra_arg) );
|
H A D | bug48058.phpt | 8 $tz = new DateTimeZone("Europe/London"); 9 $tran = $tz->getTransitions();
|
H A D | timezone_offset_get_error.phpt | 13 $tz = timezone_open("Europe/London"); 36 var_dump( timezone_offset_get($tz) ); 45 var_dump( timezone_offset_get($tz, $date, $extra_arg) ); 77 var_dump( timezone_offset_get($tz, $invalid_obj) ); 84 var_dump( timezone_offset_get($tz, $invalid_obj) ); 91 var_dump( timezone_offset_get($tz, $invalid_obj) );
|
H A D | bug45543.phpt | 18 $tz = $d1->getTimeZone(); 19 $d2->setTimeZone($tz);
|
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 | mktime-3.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 | 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 | 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 | DateTimeZone_getName_error.phpt | 14 $tz = new DateTimeZone("Europe/London"); 20 var_dump( $tz->getName($extra_arg) );
|
/PHP-7.0/ext/intl/tests/ |
H A D | timezone_getOffset_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->getOffset(INF, true, $a, $a)); 13 var_dump($tz->getOffset(time()*1000, true, $a)); 14 var_dump($tz->getOffset(time()*1000, true, $a, $a, $a));
|
H A D | timezone_hasSameRules_error.phpt | 18 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 20 var_dump($tz->hasSameRules('foo')); 27 var_dump(intltz_has_same_rules(null, $tz));
|
H A D | timezone_toDateTimeZone_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Etc/Unknown'); 13 var_dump($tz->toDateTimeZone('')); 15 var_dump($tz->toDateTimeZone());
|
H A D | timezone_getErrorCode_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->getErrorCode(array()));
|
H A D | timezone_getID_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->getID('foo'));
|
H A D | timezone_getRawOffset_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->getRawOffset('foo'));
|
H A D | timezone_getDSTSavings_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->getDSTSavings(array()));
|
H A D | timezone_getErrorMessage_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->getErrorMessage(array()));
|
H A D | timezone_useDaylightTime_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->useDaylightTime('foo'));
|
/PHP-7.0/ext/date/lib/ |
H A D | timelib.h | 113 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz); 118 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz); 119 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz); 121 void timelib_dump_tzinfo(timelib_tzinfo *tz); 130 void timelib_tzinfo_dtor(timelib_tzinfo *tz); 131 timelib_tzinfo* timelib_tzinfo_clone(timelib_tzinfo *tz); 135 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *tz);
|
H A D | unixtime2tm.c | 182 timelib_tzinfo *tz = tm->tz_info; in timelib_unixtime2local() local 199 gmt_offset = timelib_get_time_zone_info(ts, tz); in timelib_unixtime2local() 206 tm->tz_info = tz; in timelib_unixtime2local() 250 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz) in timelib_set_timezone() argument 254 gmt_offset = timelib_get_time_zone_info(t->sse, tz); in timelib_set_timezone() 263 t->tz_info = tz; in timelib_set_timezone()
|
/PHP-7.0/ext/intl/calendar/ |
H A D | gregoriancalendar_methods.cpp | 110 TimeZone *tz = timezone_process_timezone_argument(tz_object, NULL, in _php_intlgregcal_constructor_body() local 112 if (tz == NULL) { in _php_intlgregcal_constructor_body() 126 gcal = new GregorianCalendar(tz, Locale::createFromName(locale), in _php_intlgregcal_constructor_body() 134 delete tz; in _php_intlgregcal_constructor_body() 200 TimeZone *tz = TimeZone::createTimeZone(tzstr); in _php_intlgregcal_constructor_body() local 201 gcal->adoptTimeZone(tz); in _php_intlgregcal_constructor_body()
|