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

/external/icu4c/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
55 static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &canonicalCountry);
63 static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country);
66 * Returns a CLDR metazone ID for the given Olson tzid and time.
68 static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDat
[all...]
H A Dzonemeta.cpp213 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { argument
218 int32_t len = tzid.length();
252 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus);
253 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already
269 const UChar* idChars = tzid.getBuffer();
289 canonicalID = TimeZone::findID(tzid);
306 const UChar *derefer = TimeZone::dereferOlsonLink(tzid);
348 const UChar* key = ZoneMeta::findTimeZoneID(tzid);
371 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status) { argument
372 const UChar *canonicalID = getCanonicalCLDRID(tzid, statu
396 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &canonicalCountry) argument
407 getSingleCountry(const UnicodeString &tzid, UnicodeString &country) argument
510 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) argument
530 getMetazoneMappings(const UnicodeString &tzid) argument
620 createMetazoneMappings(const UnicodeString &tzid) argument
713 const UChar *tzid = NULL; local
838 findTimeZoneID(const UnicodeString& tzid) argument
[all...]
H A Dolsontz.cpp119 const UnicodeString& tzid,
121 BasicTimeZone(tzid), finalZone(NULL), transitionRulesInitialized(FALSE)
254 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec);
692 UnicodeString tzid; local
693 getID(tzid);
695 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)");
696 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)");
830 finalZone->getID(tzid);
831 firstFinalRule = new TimeArrayTimeZoneRule(tzid,
117 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) argument
H A Dvtzone.cpp359 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { argument
360 zonename = tzid;
1352 UnicodeString tzid; local
1409 tzid = value;
1422 // tzid must be ready at this point
1423 if (tzid.length() == 0) {
1493 // if zonename is not available, create one from tzid
1495 getDefaultTZName(tzid, dst, zonename);
1580 getDefaultTZName(tzid, FALSE, zonename);
1589 rbtz = new RuleBasedTimeZone(tzid, initialRul
1773 UnicodeString tzid; local
1837 UnicodeString tzid; local
2070 UnicodeString tzid; local
2171 UnicodeString tzid; local
[all...]
H A Dsimpletz.cpp1072 UnicodeString tzid; local
1073 getID(tzid);
1106 dstRule = new AnnualTimeZoneRule(tzid+DST_STR, getRawOffset(), getDSTSavings(),
1144 stdRule = new AnnualTimeZoneRule(tzid+STD_STR, getRawOffset(), 0,
1159 initialRule = new InitialTimeZoneRule(tzid+DST_STR, getRawOffset(), dstRule->getDSTSavings());
1162 initialRule = new InitialTimeZoneRule(tzid+STD_STR, getRawOffset(), 0);
1174 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0);
H A Dolsontz.h120 * @param tzid the time zone ID
125 const UnicodeString& tzid,
H A Ddtfmtsym.cpp1084 const UnicodeString *tzid; local
1089 while ((tzid = tzids->snext(status))) {
1100 zarray[i][0].setTo(*tzid);
1101 zarray[i][1].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_STANDARD, now, tzDispName));
1102 zarray[i][2].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_STANDARD, now, tzDispName));
1103 zarray[i][3].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_DAYLIGHT, now, tzDispName));
1104 zarray[i][4].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_DAYLIGHT, now, tzDispName));
/external/icu4c/test/cintltst/
H A Dcdateintervalformattest.c42 const char * tzid; member in struct:__anon6576
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",
/external/icu4c/test/intltest/
H A Dtzfmttst.cpp126 const UnicodeString *tzid; local
127 while ((tzid = tzids->snext(status))) {
128 TimeZone *tz = TimeZone::createTimeZone(*tzid);
162 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid);
176 TimeZone::getCanonicalID(*tzid, canonical, status);
179 errln((UnicodeString)"Unknown ID " + *tzid);
186 logln("Canonical round trip failed (as expected); tz=" + *tzid
191 errln("Canonical round trip failed; tz=" + *tzid
216 errln((UnicodeString)"Offset round trip failed; tz=" + *tzid
224 errln((UnicodeString)"Raw offset round trip failed; tz=" + *tzid
336 const UnicodeString *tzid; local
[all...]
H A Dtzrulets.cpp614 const UnicodeString *tzid = tzenum.snext(status); local
615 if (tzid == NULL) {
622 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
649 const UnicodeString *tzid = tzenum.snext(status); local
650 if (tzid == NULL) {
657 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
664 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid);
666 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone());
668 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid);
673 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid);
786 const UnicodeString *tzid = tzenum.snext(status); local
886 const UnicodeString *tzid = tzenum.snext(status); local
982 const UnicodeString *tzid = tzenum.snext(status); local
1122 const UnicodeString *tzid = tzenum.snext(status); local
1871 UnicodeString tzid; local
2338 UnicodeString tzid; local
[all...]
H A Dtztest.cpp2027 const UnicodeString *tzid = s->snext(ec);
2028 int32_t nEquiv = TimeZone::countEquivalentIDs(*tzid);
2038 UnicodeString tmp = TimeZone::getEquivalentID(*tzid, j);
2068 if (*tzid == UnicodeString(excluded2[k])) {
H A Dcaltest.cpp297 UnicodeString tzid("TestZone");
300 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid);
359 if (z->getID(str) != tzid ||
H A Ddtfmttst.cpp3198 UnicodeString tzid; local
3204 + "\n Expected time zone=" + calendars[i]->getTimeZone().getID(tzid)
3206 + "\n Actual time zone=" + calendars[j]->getTimeZone().getID(tzid));
/external/icu4c/test/perf/normperf/
H A Ddtfmtrtperf.h161 const UnicodeString *tzid; local
162 while ((tzid = tzids->snext(*status))) {
163 TimeZone *tz = TimeZone::createTimeZone(*tzid);
/external/icu4c/common/
H A Dputil.c969 const char *tzid = NULL; local
971 tzid = uprv_detectWindowsTimeZone();
973 if (tzid != NULL) {
974 return tzid;
981 tzid = getenv("TZFILE");
982 if (tzid != NULL) {
983 return tzid;
989 tzid = getenv("TZ");
990 if (tzid != NULL && isValidOlsonID(tzid))
[all...]
/external/icu4c/tools/tzcode/
H A Dicuzdump.cpp199 void dumpZone(ostream& out, const char* linesep, UnicodeString tzid, int32_t low, int32_t high) { argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1561 milliseconds