Home
last modified time | relevance | path

Searched refs:isdst (Results 1 – 12 of 12) sorted by relevance

/php-src/ext/date/tests/
H A Dbug80963.phpt25 ["isdst"]=>
38 ["isdst"]=>
51 ["isdst"]=>
H A Dtimezone_name_from_abbr_basic1.phpt22 echo "-- Tests without valid name - uses gmtOffset and isdst to find match --\n";
43 -- Tests without valid name - uses gmtOffset and isdst to find match --
H A Dbug48058.phpt24 ["isdst"]=>
H A DDateTimeZone_getTransitions_basic1.phpt38 ["isdst"]=>
H A Dtimezone_transitions_get_basic1.phpt41 ["isdst"]=>
H A DDateTimeZone_getTransitions_bug1.phpt13 …printf("%12d %s %6d %s %s\n", $t['ts'], $t['time'], $t['offset'], $t['isdst'] ? "DST" : " x ", $t[…
/php-src/ext/date/lib/
H A Dparse_tz.c267 tz->type[i].isdst = buffer[j + 4]; in read_64bit_types()
377 static signed int find_ttinfo_index(timelib_tzinfo *tz, int32_t offset, int isdst, char *abbr) in find_ttinfo_index() argument
384 (isdst == tz->type[i].isdst) && in find_ttinfo_index()
406 static signed int add_new_ttinfo_index(timelib_tzinfo *tz, int32_t offset, int isdst, char *abbr) in add_new_ttinfo_index() argument
409 tz->type[tz->bit64.typecnt].isdst = isdst; in add_new_ttinfo_index()
500 tz->type[i].isdst, in format_offset_type()
876 return to->isdst; in timelib_timestamp_is_in_dst()
893 tmp->is_dst = to->isdst; in timelib_get_time_zone_info()
927 *is_dst = to->isdst; in timelib_get_time_zone_offset_info()
H A Dtimelib_private.h132 int isdst; member
H A Dtimelib.h588 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst);
H A Dparse_date.re768 …tic const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isdst)
797 * offset/isdst then */
799 if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) {
2720 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst)
2724 tp = abbr_search(abbr, gmtoffset, isdst);
H A Dparse_date.c770 …tic const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isdst) in abbr_search() argument
801 if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) { in abbr_search()
25570 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
25574 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/php-src/ext/date/
H A Dphp_date.c4232 zend_long isdst = -1; in PHP_FUNCTION() local
4238 Z_PARAM_LONG(isdst) in PHP_FUNCTION()
4241 tzid = timelib_timezone_id_from_abbr(ZSTR_VAL(abbr), gmtoffset, isdst); in PHP_FUNCTION()
4306 add_assoc_bool(&element, "isdst", tzobj->tzi.tz->type[0].isdst); \ in PHP_FUNCTION()
4315 add_assoc_bool(&element, "isdst", tzobj->tzi.tz->type[tzobj->tzi.tz->trans_idx[i]].isdst); \ in PHP_FUNCTION()
4324 add_assoc_bool(&element, "isdst", tzobj->tzi.tz->type[i].isdst); \ in PHP_FUNCTION()

Completed in 61 milliseconds