Home
last modified time | relevance | path

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

/PHP-7.0/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.0/ext/date/lib/
H A Dparse_tz.c170 tz->type[i].isdst = buffer[j + 4]; in read_types()
280 tz->type[0].isdst, in timelib_dump_tzinfo()
290 tz->type[tz->trans_idx[i]].isdst, in timelib_dump_tzinfo()
431 while (j < tz->bit32.timecnt && tz->type[tz->trans_idx[j]].isdst) { in fetch_timezone_offset()
474 return to->isdst; in timelib_timestamp_is_in_dst()
491 tmp->is_dst = to->isdst; in timelib_get_time_zone_info()
H A Dtimelib_structs.h159 int isdst; member
H A Dtimelib.h90 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst);
H A Dparse_date.re681 …st static timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isdst)
710 * offset/isdst then */
712 if ((fmp->gmtoffset * 60) == gmtoffset && fmp->type == isdst) {
2220 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst)
2224 tp = abbr_search(abbr, gmtoffset, isdst);
H A Dparse_date.c683 …st static timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isdst) in abbr_search() argument
714 if ((fmp->gmtoffset * 60) == gmtoffset && fmp->type == isdst) { in abbr_search()
24331 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
24335 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/PHP-7.0/ext/date/
H A Dphp_date.c324 ZEND_ARG_INFO(0, isdst)
3843 zend_long isdst = -1; in PHP_FUNCTION() local
3845 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &abbr, &abbr_len, &gmtoffset, &isdst) == FAILUR… in PHP_FUNCTION()
3848 tzid = timelib_timezone_id_from_abbr(abbr, gmtoffset, isdst); in PHP_FUNCTION()
3916 add_assoc_bool(&element, "isdst", tzobj->tzi.tz->type[0].isdst); \ in PHP_FUNCTION()
3925 add_assoc_bool(&element, "isdst", tzobj->tzi.tz->type[tzobj->tzi.tz->trans_idx[i]].isdst); \ in PHP_FUNCTION()

Completed in 72 milliseconds