Home
last modified time | relevance | path

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

/PHP-5.5/ext/date/lib/
H A Dunixtime2tm.c154 timelib_time_offset *gmt_offset; in timelib_update_from_sse() local
158 timelib_time_offset_dtor(gmt_offset); in timelib_update_from_sse()
177 timelib_time_offset *gmt_offset; in timelib_unixtime2local() local
199 tm->dst = gmt_offset->is_dst; in timelib_unixtime2local()
200 tm->z = gmt_offset->offset; in timelib_unixtime2local()
204 timelib_time_offset_dtor(gmt_offset); in timelib_unixtime2local()
247 timelib_time_offset *gmt_offset; in timelib_set_timezone() local
250 t->z = gmt_offset->offset; in timelib_set_timezone()
257 t->dst = gmt_offset->is_dst; in timelib_set_timezone()
262 t->tz_abbr = strdup(gmt_offset->abbr); in timelib_set_timezone()
[all …]
H A Dtm2unixtime.c419 timelib_time_offset *gmt_offset; in do_adjust_timezone() local
421 gmt_offset = timelib_get_time_zone_info(tz->sse + tmp, tzi); in do_adjust_timezone()
422 tz->z = gmt_offset->offset; in do_adjust_timezone()
424 tz->dst = gmt_offset->is_dst; in do_adjust_timezone()
428 tz->tz_abbr = strdup(gmt_offset->abbr); in do_adjust_timezone()
429 timelib_time_offset_dtor(gmt_offset); in do_adjust_timezone()
H A Dparse_tz.c507 timelib_time_offset *gmt_offset; in timelib_get_current_offset() local
516 gmt_offset = timelib_get_time_zone_info(t->sse, t->tz_info); in timelib_get_current_offset()
517 retval = gmt_offset->offset; in timelib_get_current_offset()
518 timelib_time_offset_dtor(gmt_offset); in timelib_get_current_offset()
/PHP-5.5/ext/date/tests/
H A Ddate_sunrise_variation9.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
19 $gmt_offset = 1;
23 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
24 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
25 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) …
29 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
30 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
31 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) …
H A Ddate_sunset_variation9.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
19 $gmt_offset = 1;
23 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
24 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
25 var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) );
29 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
30 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
31 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.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
19 $gmt_offset = 1;
97 var_dump( date_sunrise($time, $value, $latitude, $longitude, $zenith, $gmt_offset) );
H A Ddate_sunset_variation2.phpt5 …d time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
19 $gmt_offset = 5.5;
97 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-5.5/ext/date/
H A Dphp_date.c142 ZEND_ARG_INFO(0, gmt_offset)
151 ZEND_ARG_INFO(0, gmt_offset)
4607 double latitude = 0.0, longitude = 0.0, zenith = 0.0, gmt_offset = 0, altitude; in php_do_date_sunrise_sunset() local
4616 …TSRMLS_CC, "l|ldddd", &time, &retformat, &latitude, &longitude, &zenith, &gmt_offset) == FAILURE) { in php_do_date_sunrise_sunset()
4657 gmt_offset = timelib_get_current_offset(t) / 3600; in php_do_date_sunrise_sunset()
4671 N = (calc_sunset ? h_set : h_rise) + gmt_offset; in php_do_date_sunrise_sunset()

Completed in 73 milliseconds