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

/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Dzonemeta.h31 * Return the canonical id for this tzid defined by CLDR, which might be the id itself.
32 * If the given system tzid is not known, U_ILLEGAL_ARGUMENT_ERROR is set in the status.
37 static UnicodeString& U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status);
40 * Return the canonical id for this tzid defined by CLDR, which might be the id itself.
44 static const UChar* U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status);
52 * Return the canonical country code for this tzid. If we have none, or if the time zone
54 * @param tzid Zone ID
59 static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary = NULL);
62 * Returns a CLDR metazone ID for the given Olson tzid and time.
64 static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDat
[all...]
H A Dzonemeta.cpp216 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { argument
221 int32_t len = tzid.length();
255 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus);
256 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already
272 const UChar* idChars = tzid.getBuffer();
292 canonicalID = TimeZone::findID(tzid);
309 const UChar *derefer = TimeZone::dereferOlsonLink(tzid);
351 const UChar* key = ZoneMeta::findTimeZoneID(tzid);
374 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status) { argument
375 const UChar *canonicalID = getCanonicalCLDRID(tzid, statu
397 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary ) argument
530 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) argument
550 getMetazoneMappings(const UnicodeString &tzid) argument
640 createMetazoneMappings(const UnicodeString &tzid) argument
733 const UChar *tzid = NULL; local
860 findTimeZoneID(const UnicodeString& tzid) argument
[all...]
H A Dolsontz.cpp120 const UnicodeString& tzid,
122 BasicTimeZone(tzid), finalZone(NULL), transitionRulesInitialized(FALSE)
255 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec);
715 UnicodeString tzid; local
716 getID(tzid);
718 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)");
719 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)");
853 finalZone->getID(tzid);
854 firstFinalRule = new TimeArrayTimeZoneRule(tzid,
118 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) argument
H A Dvtzone.cpp358 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { argument
359 zonename = tzid;
1357 UnicodeString tzid; local
1414 tzid = value;
1427 // tzid must be ready at this point
1428 if (tzid.length() == 0) {
1498 // if zonename is not available, create one from tzid
1500 getDefaultTZName(tzid, dst, zonename);
1585 getDefaultTZName(tzid, FALSE, zonename);
1594 rbtz = new RuleBasedTimeZone(tzid, initialRul
1778 UnicodeString tzid; local
1842 UnicodeString tzid; local
2075 UnicodeString tzid; local
2176 UnicodeString tzid; local
[all...]
H A Dsimpletz.cpp1095 UnicodeString tzid; local
1096 getID(tzid);
1129 dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(),
1167 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0,
1182 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDSTSavings());
1185 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0);
1197 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0);
H A Dolsontz.h120 * @param tzid the time zone ID
125 const UnicodeString& tzid,
H A Ddtfmtsym.cpp1121 const UnicodeString *tzid; local
1126 while ((tzid = tzids->snext(status))) {
1137 zarray[i][0].setTo(*tzid);
1138 zarray[i][1].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_STANDARD, now, tzDispName));
1139 zarray[i][2].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_STANDARD, now, tzDispName));
1140 zarray[i][3].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_DAYLIGHT, now, tzDispName));
1141 zarray[i][4].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_DAYLIGHT, now, tzDispName));
/macosx-10.9.5/ICU-511.35/icuSources/test/cintltst/
H A Dcdateintervalformattest.c42 const char * tzid; member in struct:__anon1253
78 const char * tzidForLog = (testItemPtr->tzid)? testItemPtr->tzid: "NULL";
82 if ( testItemPtr->tzid ) {
83 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen);
100 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n",
105 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n",
110 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n",
/macosx-10.9.5/ICU-511.35/icuSources/test/intltest/
H A Dtzfmttst.cpp173 const UnicodeString *tzid; local
174 while ((tzid = tzids->snext(status))) {
175 TimeZone *tz = TimeZone::createTimeZone(*tzid);
209 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid);
221 TimeZone::getCanonicalID(*tzid, canonicalID, status);
224 errln((UnicodeString)"Unknown ID " + *tzid);
230 logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid
235 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid
243 if (outtzid != *tzid) {
244 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid
470 const UnicodeString *tzid; local
[all...]
H A Dtzrulets.cpp615 const UnicodeString *tzid = tzenum.snext(status); local
616 if (tzid == NULL) {
623 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
650 const UnicodeString *tzid = tzenum.snext(status); local
651 if (tzid == NULL) {
658 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
665 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid);
667 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone());
669 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid);
674 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid);
787 const UnicodeString *tzid = tzenum.snext(status); local
887 const UnicodeString *tzid = tzenum.snext(status); local
983 const UnicodeString *tzid = tzenum.snext(status); local
1123 const UnicodeString *tzid = tzenum.snext(status); local
1872 UnicodeString tzid; local
2339 UnicodeString tzid; local
[all...]
H A Dcaltest.cpp339 UnicodeString tzid("TestZone");
342 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid);
401 if (z->getID(str) != tzid ||
2475 const char* tzid; member in struct:__anon1345
2517 for (int32_t i = 0; RPDATA[i].tzid != NULL; i++) {
2519 TimeZone *tz = TimeZone::createTimeZone(RPDATA[i].tzid);
2529 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2532 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2545 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2548 dataerrln(UnicodeString("Fail: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid
2573 const char* tzid; member in struct:__anon1346
[all...]
H A Dtztest.cpp2031 const UnicodeString *tzid = s->snext(ec); local
2032 int32_t nEquiv = TimeZone::countEquivalentIDs(*tzid);
2042 UnicodeString tmp = TimeZone::getEquivalentID(*tzid, j);
2072 if (*tzid == UnicodeString(excluded2[k])) {
H A Ddtfmttst.cpp3346 UnicodeString tzid; local
3352 + "\n Expected time zone=" + calendars[i]->getTimeZone().getID(tzid)
3354 + "\n Actual time zone=" + calendars[j]->getTimeZone().getID(tzid));
/macosx-10.9.5/ICU-511.35/icuSources/test/perf/normperf/
H A Ddtfmtrtperf.h161 const UnicodeString *tzid; local
162 while ((tzid = tzids->snext(*status))) {
163 TimeZone *tz = TimeZone::createTimeZone(*tzid);
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dputil.cpp993 const char *tzid = NULL; local
995 tzid = uprv_detectWindowsTimeZone();
997 if (tzid != NULL) {
998 return tzid;
1005 tzid = getenv("TZFILE");
1006 if (tzid != NULL) {
1007 return tzid;
1013 tzid = getenv("TZ");
1014 if (tzid != NULL && isValidOlsonID(tzid)
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/tools/tzcode/
H A Dicuzdump.cpp199 void dumpZone(ostream& out, const char* linesep, UnicodeString tzid, int32_t low, int32_t high) { argument

Completed in 302 milliseconds