Searched defs:tzid (Results 1 - 18 of 18) sorted by relevance

/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
H A DTimeZoneNameTest.java50 for (String tzid : tzids) {
55 String icuStdLong = getIcuDisplayName(tzid, false, TimeZone.LONG, loc);
56 String icuDstLong = getIcuDisplayName(tzid, true, TimeZone.LONG, loc);
57 String icuStdShort = getIcuDisplayName(tzid, false, TimeZone.SHORT, loc);
58 String icuDstShort = getIcuDisplayName(tzid, true, TimeZone.SHORT, loc);
61 checkDisplayNamePair(TimeZone.SHORT, tzid, loc, warningOnly || ProblematicZones.contains(tzid));
62 checkDisplayNamePair(TimeZone.LONG, tzid, loc, warningOnly || ProblematicZones.contains(tzid));
65 + tzid
71 checkDisplayNamePair(int style, String tzid, Locale loc, boolean warnOnly) argument
92 getIcuDisplayName(String tzid, boolean daylight, int style, Locale loc) argument
115 checkDisplayName(boolean daylight, int style, String tzid, Locale loc, String icuname, boolean warnOnly) argument
[all...]
/external/icu/icu4c/source/test/perf/normperf/
H A Ddtfmtrtperf.h161 const UnicodeString *tzid; local
162 while ((tzid = tzids->snext(*status))) {
163 TimeZone *tz = TimeZone::createTimeZone(*tzid);
/external/icu/icu4c/source/test/cintltst/
H A Dcdateintervalformattest.c42 const char * tzid; member in struct:__anon5770
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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DZoneMeta.java352 * Return the canonical id for this tzid defined by CLDR, which might be
353 * the id itself. If the given tzid is not known, return null.
358 public static String getCanonicalCLDRID(String tzid) { argument
359 String canonical = CANONICAL_ID_CACHE.get(tzid);
361 canonical = findCLDRCanonicalID(tzid);
365 int zoneIdx = getZoneIndex(tzid);
373 tzid = getZoneID(zone.getInt());
374 canonical = findCLDRCanonicalID(tzid);
377 canonical = tzid;
385 CANONICAL_ID_CACHE.put(tzid, canonica
391 findCLDRCanonicalID(String tzid) argument
424 getRegion(String tzid) argument
451 getCanonicalCountry(String tzid) argument
464 getCanonicalCountry(String tzid, Output<Boolean> isPrimary) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dsimpletz.cpp1102 UnicodeString tzid; local
1103 getID(tzid);
1136 dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(),
1174 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0,
1189 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDSTSavings());
1192 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0);
1204 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0);
H A Dolsontz.cpp120 const UnicodeString& tzid,
122 BasicTimeZone(tzid), finalZone(NULL)
255 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec);
709 UnicodeString tzid; local
710 getID(tzid);
712 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)");
713 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)");
847 finalZone->getID(tzid);
848 firstFinalRule = new TimeArrayTimeZoneRule(tzid,
118 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) argument
H A Dzonemeta.cpp233 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { argument
238 if (tzid.isBogus() || tzid.length() > ZID_KEY_MAX) {
253 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus);
254 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already
270 tzid.extract(0, 0x7fffffff, id, UPRV_LENGTHOF(id), US_INV);
287 canonicalID = TimeZone::findID(tzid);
304 const UChar *derefer = TimeZone::dereferOlsonLink(tzid);
346 const UChar* key = ZoneMeta::findTimeZoneID(tzid);
369 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeStrin argument
414 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary ) argument
517 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) argument
550 getMetazoneMappings(const UnicodeString &tzid) argument
618 createMetazoneMappings(const UnicodeString &tzid) argument
711 const UChar *tzid = NULL; local
831 findTimeZoneID(const UnicodeString& tzid) argument
[all...]
H A Ddtfmtsym.cpp1250 const UnicodeString *tzid; local
1255 while ((tzid = tzids->snext(status))) {
1266 zarray[i][0].setTo(*tzid);
1267 zarray[i][1].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_STANDARD, now, tzDispName));
1268 zarray[i][2].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_STANDARD, now, tzDispName));
1269 zarray[i][3].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_DAYLIGHT, now, tzDispName));
1270 zarray[i][4].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_DAYLIGHT, now, tzDispName));
H A Dtimezone.cpp1661 const UChar *tzid = NULL; local
1680 tzid = ures_getStringByKey(zones, "001", &len, &status); // using status, because "001" must be
1683 id.setTo(tzid, len);
H A Dvtzone.cpp359 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { argument
360 zonename = tzid;
1358 UnicodeString tzid; local
1415 tzid = value;
1428 // tzid must be ready at this point
1429 if (tzid.length() == 0) {
1499 // if zonename is not available, create one from tzid
1501 getDefaultTZName(tzid, dst, zonename);
1586 getDefaultTZName(tzid, FALSE, zonename);
1595 rbtz = new RuleBasedTimeZone(tzid, initialRul
1779 UnicodeString tzid; local
1843 UnicodeString tzid; local
2076 UnicodeString tzid; local
2187 UnicodeString tzid; local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dtzfmttst.cpp175 const UnicodeString *tzid; local
176 while ((tzid = tzids->snext(status))) {
177 TimeZone *tz = TimeZone::createTimeZone(*tzid);
211 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid);
223 TimeZone::getCanonicalID(*tzid, canonicalID, status);
226 errln((UnicodeString)"Unknown ID " + *tzid);
232 logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid
237 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid
245 if (outtzid != *tzid) {
246 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid
472 const UnicodeString *tzid; local
1031 const char* tzid; member in struct:__anon5934
[all...]
H A Dcaltest.cpp380 UnicodeString tzid("TestZone");
383 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid);
442 if (z->getID(str) != tzid ||
2519 const char* tzid; member in struct:__anon5877
2561 for (int32_t i = 0; RPDATA[i].tzid != NULL; i++) {
2563 TimeZone *tz = TimeZone::createTimeZone(RPDATA[i].tzid);
2573 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2576 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2589 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2592 dataerrln(UnicodeString("Fail: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid
2617 const char* tzid; member in struct:__anon5878
[all...]
H A Dtzrulets.cpp613 const UnicodeString *tzid = tzenum.snext(status); local
614 if (tzid == NULL) {
621 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
648 const UnicodeString *tzid = tzenum.snext(status); local
649 if (tzid == NULL) {
656 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
663 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid);
665 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone());
667 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid);
672 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid);
785 const UnicodeString *tzid = tzenum.snext(status); local
885 const UnicodeString *tzid = tzenum.snext(status); local
981 const UnicodeString *tzid = tzenum.snext(status); local
1121 const UnicodeString *tzid = tzenum.snext(status); local
1870 UnicodeString tzid; local
2337 UnicodeString tzid; local
[all...]
H A Dtztest.cpp2095 const UnicodeString *tzid = s->snext(ec); local
2096 int32_t nEquiv = TimeZone::countEquivalentIDs(*tzid);
2106 UnicodeString tmp = TimeZone::getEquivalentID(*tzid, j);
2136 if (*tzid == UnicodeString(excluded2[k])) {
H A Ddtfmttst.cpp3494 UnicodeString tzid; local
3500 + "\n Expected time zone=" + calendars[i]->getTimeZone().getID(tzid)
3502 + "\n Actual time zone=" + calendars[j]->getTimeZone().getID(tzid));
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DVTimeZone.java43 * @param tzid The time zone ID, such as America/New_York
49 public static VTimeZone create(String tzid) { argument
50 VTimeZone vtz = new VTimeZone(tzid);
51 vtz.tz = (BasicTimeZone)TimeZone.getTimeZone(tzid, TimeZone.TIMEZONE_ICU);
463 private VTimeZone(String tzid) { argument
464 super(tzid);
565 String tzid = null;
596 tzid = value;
606 // tzid must be ready at this point
607 if (tzid
847 getDefaultTZName(String tzid, boolean isDST) argument
[all...]
/external/icu/icu4c/source/common/
H A Dputil.cpp976 const char *tzid = NULL; local
978 tzid = uprv_detectWindowsTimeZone();
980 if (tzid != NULL) {
981 return tzid;
988 tzid = getenv("TZFILE");
989 if (tzid != NULL) {
990 return tzid;
996 tzid = getenv("TZ");
997 if (tzid != NULL && isValidOlsonID(tzid)
[all...]
/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 2914 milliseconds