Home
last modified time | relevance | path

Searched refs:gmt_offset (Results 1 – 24 of 24) sorted by relevance

/PHP-7.0/ext/date/lib/
H A Dunixtime2tm.c158 timelib_time_offset *gmt_offset; in timelib_update_from_sse() local
162 timelib_time_offset_dtor(gmt_offset); in timelib_update_from_sse()
181 timelib_time_offset *gmt_offset; in timelib_unixtime2local() local
204 tm->dst = gmt_offset->is_dst; in timelib_unixtime2local()
205 tm->z = gmt_offset->offset; in timelib_unixtime2local()
209 timelib_time_offset_dtor(gmt_offset); in timelib_unixtime2local()
252 timelib_time_offset *gmt_offset; in timelib_set_timezone() local
255 t->z = gmt_offset->offset; in timelib_set_timezone()
262 t->dst = gmt_offset->is_dst; in timelib_set_timezone()
267 t->tz_abbr = timelib_strdup(gmt_offset->abbr); in timelib_set_timezone()
[all …]
H A Dtm2unixtime.c431 timelib_time_offset *gmt_offset; in do_adjust_timezone() local
433 gmt_offset = timelib_get_time_zone_info(tz->sse + tmp, tzi); in do_adjust_timezone()
434 tz->z = gmt_offset->offset; in do_adjust_timezone()
436 tz->dst = gmt_offset->is_dst; in do_adjust_timezone()
440 tz->tz_abbr = timelib_strdup(gmt_offset->abbr); in do_adjust_timezone()
441 timelib_time_offset_dtor(gmt_offset); in do_adjust_timezone()
H A Dparse_tz.c513 timelib_time_offset *gmt_offset; in timelib_get_current_offset() local
522 gmt_offset = timelib_get_time_zone_info(t->sse, t->tz_info); in timelib_get_current_offset()
523 retval = gmt_offset->offset; in timelib_get_current_offset()
524 timelib_time_offset_dtor(gmt_offset); in timelib_get_current_offset()
/PHP-7.0/ext/date/tests/
H A Ddate_sunrise_variation9.phpt7 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
21 $gmt_offset = 1;
25 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
26 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
27 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) …
31 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
32 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
33 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) …
H A Ddate_sunset_variation9.phpt7 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
21 $gmt_offset = 1;
25 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
26 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
27 var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) );
31 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
32 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
33 var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) );
H A Ddate_sunset_error.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
18 $gmt_offset = 1;
27 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset, $ext…
28 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset, $ext…
29 var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset, $…
H A Ddate_sunrise_error.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
17 $gmt_offset = 1;
26 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset, $ex…
H A Ddate_sunrise_variation1.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
16 $gmt_offset = 1;
100 …var_dump( date_sunrise($value, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
101 …var_dump( date_sunrise($value, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
102 …_dump( date_sunrise($value, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) );
H A Ddate_sunrise_variation3.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
17 $gmt_offset = -5.5;
94 … var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value, $longitude, $zenith, $gmt_offset) );
95 … var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $value, $longitude, $zenith, $gmt_offset) );
96 … var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $value, $longitude, $zenith, $gmt_offset) );
H A Ddate_sunrise_variation4.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
18 $gmt_offset = 0;
95 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $value, $zenith, $gmt_offset) );
96 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $latitude, $value, $zenith, $gmt_offset) );
97 … var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $value, $zenith, $gmt_offset) );
H A Ddate_sunrise_variation5.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
18 $gmt_offset = 5.5;
95 … var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $value, $gmt_offset) );
96 … var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $value, $gmt_offset) );
97 …ar_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $value, $gmt_offset) );
H A Ddate_sunset_variation1.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
17 $gmt_offset = 1;
100 … var_dump( date_sunset($value, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
101 … var_dump( date_sunset($value, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
102 …r_dump( date_sunset($value, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) );
H A Ddate_sunset_variation3.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
18 $gmt_offset = 5.5;
95 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value, $longitude, $zenith, $gmt_offset) );
96 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, $value, $longitude, $zenith, $gmt_offset) );
97 … var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, $value, $longitude, $zenith, $gmt_offset) );
H A Ddate_sunset_variation4.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
18 $gmt_offset = 5.5;
95 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $latitude, $value, $zenith, $gmt_offset) );
96 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, $latitude, $value, $zenith, $gmt_offset) );
97 … var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $value, $zenith, $gmt_offset) );
H A Ddate_sunset_variation5.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
18 $gmt_offset = 5.5;
95 … var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $value, $gmt_offset) );
96 … var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $value, $gmt_offset) );
97 …var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $value, $gmt_offset) );
H A Ddate_sunrise_variation2.phpt7 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
21 $gmt_offset = 1;
99 var_dump( date_sunrise($time, $value, $latitude, $longitude, $zenith, $gmt_offset) );
H A Ddate_sunset_variation2.phpt7 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
21 $gmt_offset = 5.5;
99 var_dump( date_sunset($time, $value, $latitude, $longitude, $zenith, $gmt_offset) );
H A Ddate_sunrise_variation7.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
H A Ddate_sunrise_variation8.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
H A Ddate_sunset_variation7.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
H A Ddate_sunset_variation8.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
H A Ddate_sunrise_variation6.phpt2 …date_sunrise() function : usage variation - Passing unexpected values to sixth argument gmt_offset.
5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
90 // loop through each element of the array for gmt_offset
H A Ddate_sunset_variation6.phpt2 … date_sunset() function : usage variation - Passing unexpected values to sixth argument gmt_offset.
5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
91 // loop through each element of the array for gmt_offset
/PHP-7.0/ext/date/
H A Dphp_date.c140 ZEND_ARG_INFO(0, gmt_offset)
149 ZEND_ARG_INFO(0, gmt_offset)
4734 double latitude = 0.0, longitude = 0.0, zenith = 0.0, gmt_offset = 0, altitude; in php_do_date_sunrise_sunset() local
4743 …UM_ARGS(), "l|ldddd", &time, &retformat, &latitude, &longitude, &zenith, &gmt_offset) == FAILURE) { in php_do_date_sunrise_sunset()
4784 gmt_offset = timelib_get_current_offset(t) / 3600; in php_do_date_sunrise_sunset()
4798 N = (calc_sunset ? h_set : h_rise) + gmt_offset; in php_do_date_sunrise_sunset()

Completed in 54 milliseconds