Home
last modified time | relevance | path

Searched refs:tz (Results 26 – 50 of 79) sorted by relevance

1234

/PHP-7.1/ext/date/tests/
H A Drfc-datetime_and_daylight_saving_time-type3-bd2.phpt20 $tz = new DateTimeZone('America/New_York');
27 $end->setTimeZone($tz);
33 $end->setTimeZone($tz);
39 $end->setTimeZone($tz);
45 $end->setTimeZone($tz);
H A Dbug52290.phpt5 $tz = 'UTC';
6 date_default_timezone_set($tz);
10 $dt->setTimezone(new DateTimeZone($tz));
H A Dtimezone_transitions_get_basic1.phpt17 $tz = timezone_open("Europe/London");
19 $tran = timezone_transitions_get($tz);
22 $tran = timezone_transitions_get($tz, -306972000, -37241999);
H A DDateTimeZone_getOffset_error.phpt14 $tz = new DateTimeZone("Europe/London");
20 var_dump( $tz->getOffset() );
24 var_dump( $tz->getOffset($date, $extra_arg) );
H A Dtimezone_offset_get_error.phpt13 $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 Dbug48058.phpt8 $tz = new DateTimeZone("Europe/London");
9 $tran = $tz->getTransitions();
H A Dbug45543.phpt18 $tz = $d1->getTimeZone();
19 $d2->setTimeZone($tz);
H A Dmktime-3-64bit.phpt12 foreach ($tzs as $tz) {
13 echo $tz, "\n";
14 date_default_timezone_set($tz);
H A Dmktime-3.phpt12 foreach ($tzs as $tz) {
13 echo $tz, "\n";
14 date_default_timezone_set($tz);
H A Dbug62561.phpt5 $tz = new DateTimeZone('America/New_York');
6 $ts = new DateTime('@1341115200', $tz);
H A Drfc-datetime_and_daylight_saving_time-type3-bs.phpt9 $tz = new DateTimeZone('America/New_York');
18 $end->setTimeZone($tz);
43 $end->setTimeZone($tz);
50 $end->setTimeZone($tz);
63 $end->setTimeZone($tz);
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);
/PHP-7.1/ext/intl/tests/
H A Dtimezone_getOffset_error.phpt11 $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 Dtimezone_hasSameRules_error.phpt18 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
20 var_dump($tz->hasSameRules('foo'));
27 var_dump(intltz_has_same_rules(null, $tz));
H A Dtimezone_IDforWindowsID_basic2.phpt18 foreach ($tzs as $tz => $regions) {
19 echo "** $tz\n";
21 var_dump(IntlTimeZone::getIDForWindowsID($tz, $region));
H A Dtimezone_IDforWindowsID_basic.phpt19 foreach ($tzs as $tz => $regions) {
20 echo "** $tz\n";
22 var_dump(IntlTimeZone::getIDForWindowsID($tz, $region));
H A Dtimezone_toDateTimeZone_error.phpt11 $tz = IntlTimeZone::createTimeZone('Etc/Unknown');
13 var_dump($tz->toDateTimeZone(''));
15 var_dump($tz->toDateTimeZone());
H A Dtimezone_getDSTSavings_error.phpt11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
12 var_dump($tz->getDSTSavings(array()));
H A Dtimezone_getErrorCode_error.phpt11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
12 var_dump($tz->getErrorCode(array()));
H A Dtimezone_getErrorMessage_error.phpt11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
12 var_dump($tz->getErrorMessage(array()));
H A Dtimezone_getID_error.phpt11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
12 var_dump($tz->getID('foo'));
H A Dtimezone_getRawOffset_error.phpt11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
12 var_dump($tz->getRawOffset('foo'));
/PHP-7.1/ext/date/lib/
H A Dtimelib.h113 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 Dunixtime2tm.c182 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.1/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp110 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()

Completed in 27 milliseconds

1234