Home
last modified time | relevance | path

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

1234

/php-src/ext/intl/tests/
H A Dtimezone_equals_error.phpt13 $tz = new A();
15 var_dump($tz, $tz2);
17 var_dump($tz == $tz2);
H A Dtimezone_hasSameRules_error.phpt16 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
18 var_dump($tz->hasSameRules('foo'));
25 var_dump(intltz_has_same_rules(null, $tz));
H A Dtimezone_IDforWindowsID_basic2.phpt17 foreach ($tzs as $tz => $regions) {
18 echo "** $tz\n";
20 var_dump(IntlTimeZone::getIDForWindowsID($tz, $region));
H A Dtimezone_IDforWindowsID_basic.phpt18 foreach ($tzs as $tz => $regions) {
19 echo "** $tz\n";
21 var_dump(IntlTimeZone::getIDForWindowsID($tz, $region));
H A Dtimezone_getDisplayName_error.phpt9 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
10 var_dump($tz->getDisplayName(false, -1));
H A Dtimezone_toDateTimeZone_error.phpt9 $tz = IntlTimeZone::createTimeZone('Etc/Unknown');
12 var_dump($tz->toDateTimeZone());
/php-src/ext/intl/common/
H A Dcommon_date.cpp49 : ((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-src/ext/date/tests/
H A Dbug67118_2.phpt9 $tz = new DateTimeZone('UTC');
12 parent::__construct($time, $tz);
16 parent::__construct($time.'C', $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.phpt11 $tz = timezone_open("Europe/London");
13 $tran = timezone_transitions_get($tz);
16 $tran = timezone_transitions_get($tz, -306972000, -37241999);
H A Dbug66019.phpt5 $tz = new DateTimeZone("Europe/Amsterdam");
6 $dateObject = new DateTime( '2012-02-02T10', $tz );
H A Dbug81504.phpt8 $tz = new DateTimeZone('Europe/Amsterdam');
9 foreach ($tz->getTransitions(strtotime("1996-01-01"), strtotime("1997-12-31")) as $tr) {
H A Dbug48058.phpt8 $tz = new DateTimeZone("Europe/London");
9 $tran = $tz->getTransitions();
H A Dmktime-3.phpt12 foreach ($tzs as $tz) {
13 echo $tz, "\n";
14 date_default_timezone_set($tz);
H A Dtimezone_offset_get_error.phpt7 $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 Dbug45543.phpt18 $tz = $d1->getTimeZone();
19 $d2->setTimeZone($tz);
H A Dbug75167.phpt5 $tz = new DateTimeZone('Europe/London'); // A timezone that has DST
9 $date = new DateTime("2014-3-30 00:00:00", $tz);
H A Dmktime-3-64bit.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 Ddate_format_timezone.phpt6 $tz = array("UTC", "Europe/London", "Europe/Berlin", "America/Chicago");
8 foreach ($tz as $zone) {
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);
H A Dbug80963.phpt11 $tz = new DateTimeZone($tzid);
12 $t = $tz->getTransitions();
H A Dbug78139.phpt18 $tz = timezone_open($string);
19 var_dump($tz);
22 $tz = new \DateTimeZone($string);
/php-src/ext/date/lib/
H A Dunixtime2tm.c123 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()

Completed in 33 milliseconds

1234