Searched refs:tz (Results 1 - 16 of 16) sorted by relevance

/PHP_5_5/ext/intl/common/
H A Dcommon_date.cpp54 : ((php_timezone_obj*)object)->tzi.tz->name;
109 U_CFUNC int intl_datetime_decompose(zval *z, double *millis, TimeZone **tz, argument
123 if (tz) {
124 *tz = NULL;
146 if (tz) {
158 *tz = TimeZone::getGMT()->clone();
160 *tz = timezone_convert_datetimezone(datetime->time->zone_type,
162 if (*tz == NULL) {
H A Dcommon_date.h32 U_CFUNC int intl_datetime_decompose(zval *z, double *millis, TimeZone **tz,
/PHP_5_5/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp85 const TimeZone& tz = fetch_datefmt(dfo)->getTimeZone(); local
86 TimeZone *tz_clone = tz.clone();
/PHP_5_5/ext/intl/timezone/
H A Dtimezone_class.cpp288 const TimeZone *tz; local
299 tz = to->utimezone;
301 if (tz == NULL) {
308 tz->getID(ustr);
318 tz->getOffset(now, FALSE, rawOffset, dstOffset, uec);
H A Dtimezone_methods.cpp69 TimeZone *tz = TimeZone::createTimeZone(id); local
70 timezone_object_construct(tz, return_value, 1 TSRMLS_CC);
76 TimeZone *tz; local
95 tz = timezone_convert_datetimezone(tzobj->type, tzobj, FALSE, NULL,
97 if (tz == NULL) {
101 timezone_object_construct(tz, return_value, 1 TSRMLS_CC);
114 TimeZone *tz = TimeZone::createDefault(); local
115 timezone_object_construct(tz, return_value, 1 TSRMLS_CC);
/PHP_5_5/ext/intl/calendar/
H A Dcalendar_methods.cpp782 TimeZone *tz = co->ucal->getTimeZone().clone(); local
783 if (tz == NULL) {
789 timezone_object_construct(tz, return_value, 1 TSRMLS_CC);
1270 const TimeZone& tz = co->ucal->getTimeZone(); local
1272 &tz, CALENDAR_ERROR_P(co), "intlcal_to_date_time" TSRMLS_CC);
H A Dgregoriancalendar_methods.cpp90 TimeZone *tz = timezone_process_timezone_argument(tz_object, NULL, local
92 if (tz == NULL) {
99 gcal = new GregorianCalendar(tz, Locale::createFromName(locale),
107 delete tz;
157 TimeZone *tz = TimeZone::createTimeZone(tzstr); local
158 gcal->adoptTimeZone(tz);
/PHP_5_5/ext/date/lib/
H A Dparse_tz.c52 static void read_preamble(const unsigned char **tzf, timelib_tzinfo *tz) argument
58 tz->bc = (**tzf == '\1');
62 memcpy(tz->location.country_code, *tzf, 2);
63 tz->location.country_code[2] = '\0';
70 static void read_header(const unsigned char **tzf, timelib_tzinfo *tz) argument
75 tz->ttisgmtcnt = timelib_conv_int(buffer[0]);
76 tz->ttisstdcnt = timelib_conv_int(buffer[1]);
77 tz->leapcnt = timelib_conv_int(buffer[2]);
78 tz->timecnt = timelib_conv_int(buffer[3]);
79 tz
84 read_transistions(const unsigned char **tzf, timelib_tzinfo *tz) argument
114 read_types(const unsigned char **tzf, timelib_tzinfo *tz) argument
197 read_location(const unsigned char **tzf, timelib_tzinfo *tz) argument
216 timelib_dump_tzinfo(timelib_tzinfo *tz) argument
335 fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib_sll *transition_time) argument
379 fetch_leaptime_offset(timelib_tzinfo *tz, timelib_sll ts) argument
395 timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz) argument
406 timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz) argument
[all...]
H A Dtimelib.c116 timelib_tzinfo *timelib_tzinfo_clone(timelib_tzinfo *tz) argument
118 timelib_tzinfo *tmp = timelib_tzinfo_ctor(tz->name);
119 tmp->ttisgmtcnt = tz->ttisgmtcnt;
120 tmp->ttisstdcnt = tz->ttisstdcnt;
121 tmp->leapcnt = tz->leapcnt;
122 tmp->timecnt = tz->timecnt;
123 tmp->typecnt = tz->typecnt;
124 tmp->charcnt = tz->charcnt;
126 tmp->trans = (int32_t *) malloc(tz->timecnt * sizeof(int32_t));
127 tmp->trans_idx = (unsigned char*) malloc(tz
143 timelib_tzinfo_dtor(timelib_tzinfo *tz) argument
[all...]
H A Dunixtime2tm.c178 timelib_tzinfo *tz = tm->tz_info; local
194 gmt_offset = timelib_get_time_zone_info(ts, tz);
201 tm->tz_info = tz;
245 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz) argument
249 gmt_offset = timelib_get_time_zone_info(t->sse, tz);
258 t->tz_info = tz;
H A Dtimelib.h97 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz);
102 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz);
103 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz);
105 void timelib_dump_tzinfo(timelib_tzinfo *tz);
114 void timelib_tzinfo_dtor(timelib_tzinfo *tz);
115 timelib_tzinfo* timelib_tzinfo_clone(timelib_tzinfo *tz);
119 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *tz);
H A Dtm2unixtime.c358 static timelib_sll do_adjust_timezone(timelib_time *tz, timelib_tzinfo *tzi) argument
360 switch (tz->zone_type) {
363 tz->is_localtime = 1;
364 return tz->z * 60;
370 tz->is_localtime = 1;
371 tmp = tz->z;
372 tmp -= tz->dst * 60;
379 tzi = tz->tz_info;
389 tz->is_localtime = 1;
390 before = timelib_get_time_zone_info(tz
[all...]
H A Dparse_date.re831 tz = "("? [A-Za-z]{1,6} ")"? | [A-Z][a-z]+([_/-][A-Za-z]+)+;
868 /* iso8601shorttz = hour24 [:] minutelz space? (tzcorrection | tz); */
869 iso8601normtz = 't'? hour24 [:.] minute [:.] secondlz space? (tzcorrection | tz);
870 /* iso8601longtz = hour24 [:] minute [:] secondlz frac space? (tzcorrection | tz); */
873 /* gnunocolontz = hour24lz minutelz space? (tzcorrection | tz); */
875 /* iso8601nocolontz = hour24lz minutelz secondlz space? (tzcorrection | tz); */
1619 tzcorrection | tz
1622 DEBUG_OUTPUT("tzcorrection | tz");
/PHP_5_5/ext/date/
H A Dphp_date.h140 timelib_tzinfo *tz; /* TIMELIB_ZONETYPE_ID */ member in union:_php_timezone_obj::__anon2
H A Dphp_date.c983 char *tz; local
986 tz = guess_timezone(DATE_TIMEZONEDB TSRMLS_CC);
987 tzi = php_date_parse_tzfile(tz, DATE_TIMEZONEDB TSRMLS_CC);
2296 new_obj->tzi.tz = old_obj->tzi.tz;
2333 ZVAL_STRING(zv, tzobj->tzi.tz->name, 1);
2591 tzi = tzobj->tzi.tz;
2813 tzobj->tzi.tz = tzi;
3273 tzobj->tzi.tz = t->tz_info;
3328 timelib_set_timezone(dateobj->time, tzobj->tzi.tz);
3678 char *tz; local
3697 char *tz; local
[all...]
/PHP_5_5/ext/sqlite3/libsqlite/
H A Dsqlite3.c14468 int tz; /* Timezone offset in minutes */ member in struct:DateTime
14473 char validTZ; /* True (1) if tz is valid */
14537 ** of change in p->tz and return 0. If a parser error occurs,
14547 p->tz = 0;
14564 p->tz = sgn*(nMn + nHr*60);
14609 p->validTZ = (p->tz!=0)?1:0;
14645 p->iJD -= p->tz*60000;
14910 x.tz = 0;
[all...]

Completed in 153 milliseconds