/PHP-5.5/ext/intl/common/ |
H A D | common_date.cpp | 54 : ((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 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_offset_get_error.phpt | 13 $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 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 | 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 | bug45543.phpt | 18 $tz = $d1->getTimeZone(); 19 $d2->setTimeZone($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-5.5/ext/intl/tests/ |
H A D | timezone_equals_error.phpt | 15 $tz = new A(); 17 var_dump($tz, $tz2); 19 var_dump($tz == $tz2);
|
H A D | timezone_hasSameRules_error.phpt | 18 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 19 var_dump($tz->hasSameRules('foo')); 21 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_getDSTSavings_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->getDSTSavings(array()));
|
H A D | timezone_getErrorCode_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->getErrorCode(array()));
|
H A D | timezone_getErrorMessage_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->getErrorMessage(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_useDaylightTime_error.phpt | 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 var_dump($tz->useDaylightTime('foo'));
|
/PHP-5.5/ext/intl/calendar/ |
H A D | gregoriancalendar_methods.cpp | 90 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 D | unixtime2tm.c | 178 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()
|