Home
last modified time | relevance | path

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

/PHP-7.2/ext/date/tests/
H A Dtimezone_name_from_abbr_error.phpt5 …e : string timezone_name_from_abbr ( string $abbr [, int $gmtOffset= -1 [, int $isdst= -1 ]] )
24 $isdst = 45;
26 var_dump( timezone_name_from_abbr($abbr, $gmtOffset, $isdst, $extra_arg) );
H A Dtimezone_name_from_abbr_basic1.phpt5 …e : string timezone_name_from_abbr ( string $abbr [, int $gmtOffset= -1 [, int $isdst= -1 ]] )
28 echo "-- Tests without valid name - uses gmtOffset and isdst to find match --\n";
50 -- Tests without valid name - uses gmtOffset and isdst to find match --
H A Dtimezone_name_from_abbr_variation3.phpt2 …e_name_from_abbr() function : usage variation - Passing unexpected values to third argument $isdst.
5 …e : string timezone_name_from_abbr ( string $abbr [, int $gmtOffset= -1 [, int $isdst= -1 ]] )
11 …g timezone_name_from_abbr() : usage variation - unexpected values to third argument \$isdst***\n";
100 foreach($inputs as $variation =>$isdst) {
102 var_dump( timezone_name_from_abbr($abbr, $gmtOffset, $isdst) );
111 …esting timezone_name_from_abbr() : usage variation - unexpected values to third argument $isdst***
H A Dbug48058.phpt24 ["isdst"]=>
H A Dtimezone_name_from_abbr_variation1.phpt5 …e : string timezone_name_from_abbr ( string $abbr [, int $gmtOffset= -1 [, int $isdst= -1 ]] )
98 $isdst = 1;
102 var_dump( timezone_name_from_abbr($abbr, $gmtOffset, $isdst) );
H A Dtimezone_name_from_abbr_variation2.phpt5 …e : string timezone_name_from_abbr ( string $abbr [, int $gmtOffset= -1 [, int $isdst= -1 ]] )
98 $isdst = 1;
102 var_dump( timezone_name_from_abbr($abbr, $gmtOffset, $isdst) );
H A DDateTimeZone_getTransitions_basic1.phpt45 ["isdst"]=>
H A Dtimezone_transitions_get_basic1.phpt48 ["isdst"]=>
/PHP-7.2/ext/date/lib/
H A Dtimelib_private.h117 int isdst; member
H A Dparse_tz.c231 tz->type[i].isdst = buffer[j + 4]; in read_types()
352 tz->type[0].isdst, in timelib_dump_tzinfo()
362 tz->type[tz->trans_idx[i]].isdst, in timelib_dump_tzinfo()
579 while (j < tz->bit32.timecnt && tz->type[tz->trans_idx[j]].isdst) { in fetch_timezone_offset()
622 return to->isdst; in timelib_timestamp_is_in_dst()
639 tmp->is_dst = to->isdst; in timelib_get_time_zone_info()
H A Dtimelib.h454 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst);
H A Dparse_date.re673 …tic const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isdst)
702 * offset/isdst then */
704 if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) {
2285 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst)
2289 tp = abbr_search(abbr, gmtoffset, isdst);
H A Dparse_date.c675 …tic const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isdst) in abbr_search() argument
706 if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) { in abbr_search()
25391 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
25395 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/PHP-7.2/ext/date/
H A Dphp_date.c347 ZEND_ARG_INFO(0, isdst)
3962 zend_long isdst = -1; in PHP_FUNCTION() local
3968 Z_PARAM_LONG(isdst) in PHP_FUNCTION()
3971 tzid = timelib_timezone_id_from_abbr(ZSTR_VAL(abbr), gmtoffset, isdst); in PHP_FUNCTION()
4039 add_assoc_bool(&element, "isdst", tzobj->tzi.tz->type[0].isdst); \ in PHP_FUNCTION()
4048 add_assoc_bool(&element, "isdst", tzobj->tzi.tz->type[tzobj->tzi.tz->trans_idx[i]].isdst); \ in PHP_FUNCTION()

Completed in 77 milliseconds