Searched defs:tz (Results 1 - 13 of 13) sorted by relevance

/PHP_5_6/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_6/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) {
/PHP_5_6/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp85 const TimeZone& tz = fetch_datefmt(dfo)->getTimeZone(); local
86 TimeZone *tz_clone = tz.clone();
/PHP_5_6/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_6/ext/date/
H A Dphp_date.h144 timelib_tzinfo *tz; /* TIMELIB_ZONETYPE_ID */ member in union:_php_timezone_obj::__anon2
H A Dphp_date.c997 char *tz; local
1000 tz = guess_timezone(DATE_TIMEZONEDB TSRMLS_CC);
1001 tzi = php_date_parse_tzfile(tz, DATE_TIMEZONEDB TSRMLS_CC);
2310 new_obj->tzi.tz = old_obj->tzi.tz;
2347 ZVAL_STRING(zv, tzobj->tzi.tz->name, 1);
2605 tzi = tzobj->tzi.tz;
2843 tzobj->tzi.tz = tzi;
3303 tzobj->tzi.tz = t->tz_info;
3358 timelib_set_timezone(dateobj->time, tzobj->tzi.tz);
3709 char *tz; local
3728 char *tz; local
[all...]
/PHP_5_6/ext/date/lib/
H A Dtm2unixtime.c369 static timelib_sll do_adjust_timezone(timelib_time *tz, timelib_tzinfo *tzi) argument
371 switch (tz->zone_type) {
374 tz->is_localtime = 1;
375 return tz->z * 60;
381 tz->is_localtime = 1;
382 tmp = tz->z;
383 tmp -= tz->dst * 60;
390 tzi = tz->tz_info;
400 tz->is_localtime = 1;
401 before = timelib_get_time_zone_info(tz
[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.c116 timelib_tzinfo *timelib_tzinfo_clone(timelib_tzinfo *tz) argument
118 timelib_tzinfo *tmp = timelib_tzinfo_ctor(tz->name);
119 tmp->bit32.ttisgmtcnt = tz->bit32.ttisgmtcnt;
120 tmp->bit32.ttisstdcnt = tz->bit32.ttisstdcnt;
121 tmp->bit32.leapcnt = tz->bit32.leapcnt;
122 tmp->bit32.timecnt = tz->bit32.timecnt;
123 tmp->bit32.typecnt = tz->bit32.typecnt;
124 tmp->bit32.charcnt = tz->bit32.charcnt;
126 tmp->trans = (int32_t *) malloc(tz->bit32.timecnt * sizeof(int32_t));
127 tmp->trans_idx = (unsigned char*) malloc(tz
143 timelib_tzinfo_dtor(timelib_tzinfo *tz) argument
[all...]
H A Dparse_tz.c52 static int read_preamble(const unsigned char **tzf, timelib_tzinfo *tz) argument
61 tz->bc = (**tzf == '\1');
65 memcpy(tz->location.country_code, *tzf, 2);
66 tz->location.country_code[2] = '\0';
75 static void read_header(const unsigned char **tzf, timelib_tzinfo *tz) argument
80 tz->bit32.ttisgmtcnt = timelib_conv_int(buffer[0]);
81 tz->bit32.ttisstdcnt = timelib_conv_int(buffer[1]);
82 tz->bit32.leapcnt = timelib_conv_int(buffer[2]);
83 tz->bit32.timecnt = timelib_conv_int(buffer[3]);
84 tz
89 skip_64bit_transistions(const unsigned char **tzf, timelib_tzinfo *tz) argument
97 read_transistions(const unsigned char **tzf, timelib_tzinfo *tz) argument
127 skip_64bit_types(const unsigned char **tzf, timelib_tzinfo *tz) argument
142 read_types(const unsigned char **tzf, timelib_tzinfo *tz) argument
225 skip_posix_string(const unsigned char **tzf, timelib_tzinfo *tz) argument
237 read_location(const unsigned char **tzf, timelib_tzinfo *tz) argument
256 timelib_dump_tzinfo(timelib_tzinfo *tz) argument
355 skip_64bit_preamble(const unsigned char **tzf, timelib_tzinfo *tz) argument
360 read_64bit_header(const unsigned char **tzf, timelib_tzinfo *tz) argument
402 fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib_sll *transition_time) argument
446 fetch_leaptime_offset(timelib_tzinfo *tz, timelib_sll ts) argument
462 timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz) argument
473 timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz) argument
[all...]
/PHP_5_6/ext/sqlite3/libsqlite/
H A Dsqlite3.c15386 int tz; /* Timezone offset in minutes */ member in struct:DateTime
15391 char validTZ; /* True (1) if tz is valid */
15455 ** of change in p->tz and return 0. If a parser error occurs,
15465 p->tz = 0;
15482 p->tz = sgn*(nMn + nHr*60);
15527 p->validTZ = (p->tz!=0)?1:0;
15563 p->iJD -= p->tz*60000;
15828 x.tz = 0;
[all...]

Completed in 161 milliseconds