Home
last modified time | relevance | path

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

123

/PHP-5.5/ext/intl/common/
H A Dcommon_date.cpp54 : ((php_timezone_obj*)object)->tzi.tz->name;
109 U_CFUNC int intl_datetime_decompose(zval *z, double *millis, TimeZone **tz, argument
123 if (tz) {
124 *tz = NULL;
146 if (tz) {
158 *tz = TimeZone::getGMT()->clone();
160 *tz = timezone_convert_datetimezone(datetime->time->zone_type,
162 if (*tz == NULL) {
/PHP-5.5/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_offset_get_error.phpt13 $tz = timezone_open("Europe/London");
22 var_dump( timezone_offset_get($tz) );
26 var_dump( timezone_offset_get($tz, $date, $extra_arg) );
38 var_dump( timezone_offset_get($tz, $invalid_obj) );
40 var_dump( timezone_offset_get($tz, $invalid_obj) );
42 var_dump( timezone_offset_get($tz, $invalid_obj) );
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 Dbug48058.phpt8 $tz = new DateTimeZone("Europe/London");
9 $tran = $tz->getTransitions();
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 Dbug45543.phpt18 $tz = $d1->getTimeZone();
19 $d2->setTimeZone($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);
H A DDateTimeZone_getName_error.phpt14 $tz = new DateTimeZone("Europe/London");
20 var_dump( $tz->getName($extra_arg) );
/PHP-5.5/ext/intl/tests/
H A Dtimezone_equals_error.phpt15 $tz = new A();
17 var_dump($tz, $tz2);
19 var_dump($tz == $tz2);
H A Dtimezone_hasSameRules_error.phpt18 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
19 var_dump($tz->hasSameRules('foo'));
21 var_dump(intltz_has_same_rules(null, $tz));
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'));
H A Dtimezone_useDaylightTime_error.phpt11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
12 var_dump($tz->useDaylightTime('foo'));
/PHP-5.5/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp90 TimeZone *tz = timezone_process_timezone_argument(tz_object, NULL, in _php_intlgregcal_constructor_body() local
92 if (tz == NULL) { in _php_intlgregcal_constructor_body()
99 gcal = new GregorianCalendar(tz, Locale::createFromName(locale), in _php_intlgregcal_constructor_body()
107 delete tz; in _php_intlgregcal_constructor_body()
157 TimeZone *tz = TimeZone::createTimeZone(tzstr); in _php_intlgregcal_constructor_body() local
158 gcal->adoptTimeZone(tz); in _php_intlgregcal_constructor_body()
/PHP-5.5/ext/date/lib/
H A Dunixtime2tm.c178 timelib_tzinfo *tz = tm->tz_info; in timelib_unixtime2local() local
194 gmt_offset = timelib_get_time_zone_info(ts, tz); in timelib_unixtime2local()
201 tm->tz_info = tz; in timelib_unixtime2local()
245 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz) in timelib_set_timezone() argument
249 gmt_offset = timelib_get_time_zone_info(t->sse, tz); in timelib_set_timezone()
258 t->tz_info = tz; in timelib_set_timezone()

Completed in 45 milliseconds

123