Home
last modified time | relevance | path

Searched refs:tz (Results 1 – 25 of 88) sorted by last modified time

1234

/php-src/ext/intl/calendar/
H A Dcalendar_methods.cpp699 TimeZone *tz = co->ucal->getTimeZone().clone(); in PHP_FUNCTION() local
700 if (UNEXPECTED(tz == NULL)) { in PHP_FUNCTION()
706 timezone_object_construct(tz, return_value, 1); in PHP_FUNCTION()
1122 const TimeZone& tz = co->ucal->getTimeZone(); in PHP_FUNCTION() local
1124 &tz, CALENDAR_ERROR_P(co), "intlcal_to_date_time", &tmp); in PHP_FUNCTION()
H A Dgregoriancalendar_methods.cpp75 TimeZone *tz = TimeZone::createTimeZone(tzstr); in set_gregorian_calendar_time_zone() local
76 gcal->adoptTimeZone(tz); in set_gregorian_calendar_time_zone()
146 TimeZone *tz = timezone_process_timezone_argument(tz_object, NULL, in _php_intlgregcal_constructor_body() local
148 if (tz == NULL) { in _php_intlgregcal_constructor_body()
162 gcal = new GregorianCalendar(tz, Locale::createFromName(locale), in _php_intlgregcal_constructor_body()
171 delete tz; in _php_intlgregcal_constructor_body()
/php-src/ext/date/
H A Dphp_date.c2015 new_obj->tzi.tz = old_obj->tzi.tz; in date_object_clone_timezone()
2055 return strcmp(o1->tzi.tz->name, o2->tzi.tz->name) ? 1 : 0; in date_object_compare_timezone()
2448 tzi = tzobj->tzi.tz; in php_date_initialize()
2881 tzobj->tzi.tz = tzi; in php_date_initialize_from_hash()
4041 zend_string *tz; in PHP_FUNCTION() local
4050 if (!timezone_initialize(tzobj, ZSTR_VAL(tz), ZSTR_LEN(tz), &warning_message)) { in PHP_FUNCTION()
4062 zend_string *tz; in PHP_METHOD() local
4071 if (!timezone_initialize(tzobj, ZSTR_VAL(tz), ZSTR_LEN(tz), &exception_message)) { in PHP_METHOD()
4316 …add_assoc_string(&element, "abbr", &tzobj->tzi.tz->timezone_abbr[tzobj->tzi.tz->type[tzobj->tzi.tz in PHP_FUNCTION()
4366 if (tzobj->tzi.tz->posix_info && tzobj->tzi.tz->posix_info->dst_end) { in PHP_FUNCTION()
[all …]
H A Dphp_date.h73 timelib_tzinfo *tz; /* TIMELIB_ZONETYPE_ID */ member
/php-src/ext/intl/tests/
H A Dtimezone_windowsID_basic2.phpt23 foreach ($tzs as $tz) {
24 var_dump(IntlTimeZone::getWindowsID($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_getDisplayName_error.phpt9 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
10 var_dump($tz->getDisplayName(false, -1));
H A Dtimezone_getOffset_error.phpt16 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
17 var_dump($tz->getOffset(INF, true, $a, $a));
/php-src/ext/intl/timezone/
H A Dtimezone_methods.cpp68 TimeZone *tz = TimeZone::createTimeZone(id); in PHP_FUNCTION() local
69 timezone_object_construct(tz, return_value, 1); in PHP_FUNCTION()
75 TimeZone *tz; in PHP_FUNCTION() local
92 tz = timezone_convert_datetimezone(tzobj->type, tzobj, false, NULL, in PHP_FUNCTION()
94 if (tz == NULL) { in PHP_FUNCTION()
98 timezone_object_construct(tz, return_value, 1); in PHP_FUNCTION()
109 TimeZone *tz = TimeZone::createDefault(); in PHP_FUNCTION() local
110 timezone_object_construct(tz, return_value, 1); in PHP_FUNCTION()
/php-src/ext/intl/tests/locale/
H A Dbug72809.phpt8 Locale::lookup(['en', 'en-US'], 'en-US-u-cu-EUR-tz-deber-fw-mon', true),
/php-src/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp70 const TimeZone& tz = fetch_datefmt(dfo)->getTimeZone(); in PHP_FUNCTION() local
71 TimeZone *tz_clone = tz.clone(); in PHP_FUNCTION()
/php-src/ext/date/tests/
H A Dbug80963.phpt11 $tz = new DateTimeZone($tzid);
12 $t = $tz->getTransitions();
H A Dgh11281.phpt5 $tz = new DateTimeZone('+03:00');
6 echo $tz->getName(), "\n";
7 $tz = new DateTimeZone('+03:00:00');
8 echo $tz->getName(), "\n";
10 echo $tz->getName(), "\n";
12 echo $tz->getName(), "\n";
14 echo $tz->getName(), "\n";
16 echo $tz->getName(), "\n";
18 echo $tz->getName(), "\n";
20 echo $tz->getName(), "\n";
[all …]
H A Drfc-datetime_and_daylight_saving_time-type3-bd2.phpt18 $tz = new DateTimeZone('America/New_York');
25 $end->setTimeZone($tz);
31 $end->setTimeZone($tz);
37 $end->setTimeZone($tz);
43 $end->setTimeZone($tz);
49 $end->setTimeZone($tz);
H A Dgh10583.phpt2 Bug GH-10583 (DateTime modify with tz pattern should not update linked timezone)
H A Dgh10747-2.phpt12 function __construct($tz)
14 parent::__construct($tz);
H A Dgh10747-3.phpt12 function __construct($tz)
14 parent::__construct($tz);
H A Dbug78139.phpt18 $tz = timezone_open($string);
19 var_dump($tz);
22 $tz = new \DateTimeZone($string);
H A Dbug67118.phpt9 public function __construct($time = 'now', $tz = NULL, $format = NULL)
11 if (!empty($tz) && !is_object($tz)) {
12 $tz = new DateTimeZone($tz);
15 @parent::__construct($time, $tz);
H A DDateTimeZone_serialize_errors.phpt8 $tz = unserialize($serialized);
/php-src/ext/date/lib/
H A Dtimelib.h728 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz);
770 void timelib_tzinfo_dtor(timelib_tzinfo *tz);
777 timelib_tzinfo* timelib_tzinfo_clone(timelib_tzinfo *tz);
785 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz);
795 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz);
808 int timelib_get_time_zone_offset_info(timelib_sll ts, timelib_tzinfo *tz, int32_t* offset, timelib_…
830 void timelib_dump_tzinfo(timelib_tzinfo *tz);
896 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *tz);
1097 void timelib_get_transitions_for_year(timelib_tzinfo *tz, timelib_sll year, timelib_posix_transitio…
H A Dparse_date.re1033 tz = "("? [A-Za-z]{1,6} ")"? | [A-Z][a-z]+([_/-][A-Za-z]+)+;
1073 /* iso8601shorttz = hour24 [:] minutelz space? (tzcorrection | tz); */
1074 iso8601normtz = 't'? hour24 [:.] minute [:.] secondlz space? (tzcorrection | tz);
1075 /* iso8601longtz = hour24 [:] minute [:] secondlz frac space? (tzcorrection | tz); */
1078 /* gnunocolontz = hour24lz minutelz space? (tzcorrection | tz); */
1080 /* iso8601nocolontz = hour24lz minutelz secondlz space? (tzcorrection | tz); */
1884 tzcorrection | tz
1887 DEBUG_OUTPUT("tzcorrection | tz");
H A Dtm2unixtime.c368 switch (tz->zone_type) { in do_adjust_timezone()
371 tz->is_localtime = 1; in do_adjust_timezone()
372 tz->sse += -tz->z; in do_adjust_timezone()
377 tz->is_localtime = 1; in do_adjust_timezone()
378 tz->sse += (-tz->z - tz->dst * SECS_PER_HOUR); in do_adjust_timezone()
383 tzi = tz->tz_info; in do_adjust_timezone()
406 if (current_offset == after_offset && tz->have_zone) { in do_adjust_timezone()
431 tz->is_localtime = 1; in do_adjust_timezone()
436 ((tz->sse - actual_offset) < actual_transition_time) in do_adjust_timezone()
445 tz->sse += adjustment; in do_adjust_timezone()
[all …]
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます27035 >0x1c string tz \b, TinyProg compressed
H A Dmagic27035 >0x1c string tz \b, TinyProg compressed

Completed in 268 milliseconds

1234