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

/PHP_TRUNK/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;
144 if (tz) {
156 *tz = TimeZone::getGMT()->clone();
158 *tz = timezone_convert_datetimezone(datetime->time->zone_type,
160 if (*tz == NULL) {
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_class.cpp292 const TimeZone *tz; local
305 tz = to->utimezone;
307 if (tz == NULL) {
316 tz->getID(ustr);
329 tz->getOffset(now, FALSE, rawOffset, dstOffset, uec);
H A Dtimezone_methods.cpp68 TimeZone *tz = TimeZone::createTimeZone(id); local
69 timezone_object_construct(tz, return_value, 1);
75 TimeZone *tz; local
94 tz = timezone_convert_datetimezone(tzobj->type, tzobj, FALSE, NULL,
96 if (tz == NULL) {
100 timezone_object_construct(tz, return_value, 1);
113 TimeZone *tz = TimeZone::createDefault(); local
114 timezone_object_construct(tz, return_value, 1);
/PHP_TRUNK/ext/date/lib/
H A Dtimelib.c117 timelib_tzinfo *timelib_tzinfo_clone(timelib_tzinfo *tz) argument
119 timelib_tzinfo *tmp = timelib_tzinfo_ctor(tz->name);
120 tmp->ttisgmtcnt = tz->ttisgmtcnt;
121 tmp->ttisstdcnt = tz->ttisstdcnt;
122 tmp->leapcnt = tz->leapcnt;
123 tmp->timecnt = tz->timecnt;
124 tmp->typecnt = tz->typecnt;
125 tmp->charcnt = tz->charcnt;
127 tmp->trans = (int32_t *) malloc(tz->timecnt * sizeof(int32_t));
128 tmp->trans_idx = (unsigned char*) malloc(tz
144 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 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 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->ttisgmtcnt = timelib_conv_int(buffer[0]);
81 tz->ttisstdcnt = timelib_conv_int(buffer[1]);
82 tz->leapcnt = timelib_conv_int(buffer[2]);
83 tz->timecnt = timelib_conv_int(buffer[3]);
84 tz
89 skip_transistions_64bit(const unsigned char **tzf, timelib_tzinfo *tz) argument
97 read_transistions(const unsigned char **tzf, timelib_tzinfo *tz) argument
127 skip_types_64bit(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_2nd_header_and_data(const unsigned char **tzf, timelib_tzinfo *tz) argument
388 fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib_sll *transition_time) argument
432 fetch_leaptime_offset(timelib_tzinfo *tz, timelib_sll ts) argument
448 timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz) argument
459 timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz) argument
[all...]
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c15118 int tz; /* Timezone offset in minutes */ member in struct:DateTime
15123 char validTZ; /* True (1) if tz is valid */
15187 ** of change in p->tz and return 0. If a parser error occurs,
15197 p->tz = 0;
15214 p->tz = sgn*(nMn + nHr*60);
15259 p->validTZ = (p->tz!=0)?1:0;
15295 p->iJD -= p->tz*60000;
15560 x.tz = 0;
[all...]
/PHP_TRUNK/ext/date/
H A Dphp_date.h152 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);
1001 tzi = php_date_parse_tzfile(tz, DATE_TIMEZONEDB);
2242 new_obj->tzi.tz = old_obj->tzi.tz;
2277 ZVAL_STRING(&zv, tzobj->tzi.tz->name);
2518 tzi = tzobj->tzi.tz;
2761 tzobj->tzi.tz = tzi;
3218 tzobj->tzi.tz = t->tz_info;
3273 timelib_set_timezone(dateobj->time, tzobj->tzi.tz);
3600 timezone_initialize(php_timezone_obj *tzobj, char *tz) argument
3624 char *tz; local
3644 char *tz; local
[all...]
/PHP_TRUNK/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp98 TimeZone *tz = timezone_process_timezone_argument(tz_object, NULL, local
100 if (tz == NULL) {
108 gcal = new GregorianCalendar(tz, Locale::createFromName(locale),
116 delete tz;
170 TimeZone *tz = TimeZone::createTimeZone(tzstr); local
171 gcal->adoptTimeZone(tz);
H A Dcalendar_methods.cpp781 TimeZone *tz = co->ucal->getTimeZone().clone(); local
782 if (tz == NULL) {
788 timezone_object_construct(tz, return_value, 1);
1267 const TimeZone& tz = co->ucal->getTimeZone(); local
1269 &tz, CALENDAR_ERROR_P(co), "intlcal_to_date_time", &tmp);
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp88 const TimeZone& tz = fetch_datefmt(dfo)->getTimeZone(); local
89 TimeZone *tz_clone = tz.clone();

Completed in 148 milliseconds