/external/icu4c/i18n/ |
D | zonemeta.h | 37 …static UnicodeString& U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &syste… 44 static const UChar* U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status); 55 …static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &cano… 63 …static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country… 68 …static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString… 74 static const UVector* U_EXPORT2 getMetazoneMappings(const UnicodeString &tzid); 82 static const UChar* U_EXPORT2 findTimeZoneID(const UnicodeString& tzid); 99 static UVector* createMetazoneMappings(const UnicodeString &tzid);
|
D | zonemeta.cpp | 214 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { in getCanonicalCLDRID() argument 219 int32_t len = tzid.length(); in getCanonicalCLDRID() 253 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); in getCanonicalCLDRID() 270 const UChar* idChars = tzid.getBuffer(); in getCanonicalCLDRID() 290 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID() 307 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); in getCanonicalCLDRID() 349 const UChar* key = ZoneMeta::findTimeZoneID(tzid); in getCanonicalCLDRID() 372 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status… in getCanonicalCLDRID() argument 373 const UChar *canonicalID = getCanonicalCLDRID(tzid, status); in getCanonicalCLDRID() 397 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &canonicalCountry) { in getCanonicalCountry() argument [all …]
|
D | olsontz.cpp | 119 const UnicodeString& tzid, in OlsonTimeZone() argument 121 BasicTimeZone(tzid), finalZone(NULL), transitionRulesInitialized(FALSE) in OlsonTimeZone() 254 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); in OlsonTimeZone() 692 UnicodeString tzid; in initTransitionRules() local 693 getID(tzid); in initTransitionRules() 695 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)"); in initTransitionRules() 696 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)"); in initTransitionRules() 830 finalZone->getID(tzid); in initTransitionRules() 831 firstFinalRule = new TimeArrayTimeZoneRule(tzid, in initTransitionRules()
|
D | vtzone.cpp | 358 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { in getDefaultTZName() argument 359 zonename = tzid; in getDefaultTZName() 1357 UnicodeString tzid; in parse() local 1414 tzid = value; in parse() 1428 if (tzid.length() == 0) { in parse() 1500 getDefaultTZName(tzid, dst, zonename); in parse() 1585 getDefaultTZName(tzid, FALSE, zonename); in parse() 1594 rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse() 1700 setID(tzid); in parse() 1778 UnicodeString tzid; in write() local [all …]
|
D | simpletz.cpp | 1072 UnicodeString tzid; in initTransitionRules() local 1073 getID(tzid); in initTransitionRules() 1106 … dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), in initTransitionRules() 1144 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0, in initTransitionRules() 1159 …initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDST… in initTransitionRules() 1162 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0); in initTransitionRules() 1174 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0); in initTransitionRules()
|
D | dtfmtsym.cpp | 1085 const UnicodeString *tzid; in initZoneStringsArray() local 1090 while ((tzid = tzids->snext(status))) { in initZoneStringsArray() 1101 zarray[i][0].setTo(*tzid); in initZoneStringsArray() 1102 … zarray[i][1].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_STANDARD, now, tzDispName)); in initZoneStringsArray() 1103 … zarray[i][2].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_STANDARD, now, tzDispName)); in initZoneStringsArray() 1104 … zarray[i][3].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_DAYLIGHT, now, tzDispName)); in initZoneStringsArray() 1105 … zarray[i][4].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_DAYLIGHT, now, tzDispName)); in initZoneStringsArray()
|
D | olsontz.h | 125 const UnicodeString& tzid,
|
/external/icu4c/test/intltest/ |
D | tzfmttst.cpp | 130 const UnicodeString *tzid; in TestTimeZoneRoundTrip() local 131 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip() 132 TimeZone *tz = TimeZone::createTimeZone(*tzid); in TestTimeZoneRoundTrip() 166 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); in TestTimeZoneRoundTrip() 180 TimeZone::getCanonicalID(*tzid, canonical, status); in TestTimeZoneRoundTrip() 183 errln((UnicodeString)"Unknown ID " + *tzid); in TestTimeZoneRoundTrip() 190 logln("Canonical round trip failed (as expected); tz=" + *tzid in TestTimeZoneRoundTrip() 195 errln("Canonical round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() 225 errln((UnicodeString)"Offset round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() 233 errln((UnicodeString)"Raw offset round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() [all …]
|
D | tzrulets.cpp | 615 const UnicodeString *tzid = tzenum.snext(status); in TestOlsonTransition() local 616 if (tzid == NULL) { in TestOlsonTransition() 623 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestOlsonTransition() 650 const UnicodeString *tzid = tzenum.snext(status); in TestRBTZTransition() local 651 if (tzid == NULL) { in TestRBTZTransition() 658 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestRBTZTransition() 665 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid); in TestRBTZTransition() 667 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone()); in TestRBTZTransition() 669 … errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid); in TestRBTZTransition() 674 …UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid); in TestRBTZTransition() [all …]
|
D | caltest.cpp | 332 UnicodeString tzid("TestZone"); in TestGenericAPI() local 335 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid); in TestGenericAPI() 394 if (z->getID(str) != tzid || in TestGenericAPI() 2452 const char* tzid; member 2494 for (int32_t i = 0; RPDATA[i].tzid != NULL; i++) { in TestRepeatedWallTime() 2496 TimeZone *tz = TimeZone::createTimeZone(RPDATA[i].tzid); in TestRepeatedWallTime() 2506 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); in TestRepeatedWallTime() 2509 …LLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as " in TestRepeatedWallTime() 2522 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); in TestRepeatedWallTime() 2525 …: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as " in TestRepeatedWallTime() [all …]
|
D | tztest.cpp | 2004 const UnicodeString *tzid = s->snext(ec); in TestCanonicalID() local 2005 int32_t nEquiv = TimeZone::countEquivalentIDs(*tzid); in TestCanonicalID() 2015 UnicodeString tmp = TimeZone::getEquivalentID(*tzid, j); in TestCanonicalID() 2045 if (*tzid == UnicodeString(excluded2[k])) { in TestCanonicalID()
|
D | dtfmttst.cpp | 3352 UnicodeString tzid; in TestRoundtripWithCalendar() local 3358 + "\n Expected time zone=" + calendars[i]->getTimeZone().getID(tzid) in TestRoundtripWithCalendar() 3360 + "\n Actual time zone=" + calendars[j]->getTimeZone().getID(tzid)); in TestRoundtripWithCalendar()
|
/external/icu4c/test/cintltst/ |
D | cdateintervalformattest.c | 42 const char * tzid; member 78 const char * tzidForLog = (testItemPtr->tzid)? testItemPtr->tzid: "NULL"; in TestDateIntervalFormat() 82 if ( testItemPtr->tzid ) { in TestDateIntervalFormat() 83 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); in TestDateIntervalFormat()
|
/external/icu4c/test/perf/normperf/ |
D | dtfmtrtperf.h | 161 const UnicodeString *tzid; in call() local 162 while ((tzid = tzids->snext(*status))) { in call() 163 TimeZone *tz = TimeZone::createTimeZone(*tzid); in call()
|
/external/icu4c/common/ |
D | putil.cpp | 988 const char *tzid = NULL; in uprv_tzname() local 990 tzid = uprv_detectWindowsTimeZone(); in uprv_tzname() 992 if (tzid != NULL) { in uprv_tzname() 993 return tzid; in uprv_tzname() 1008 tzid = getenv("TZ"); in uprv_tzname() 1009 if (tzid != NULL && isValidOlsonID(tzid)) in uprv_tzname() 1012 skipZoneIDPrefix(&tzid); in uprv_tzname() 1013 return tzid; in uprv_tzname() 1099 tzid = remapShortTimeZone(U_TZNAME[0], U_TZNAME[1], daylightType, uprv_timezone()); in uprv_tzname() 1100 if (tzid != NULL) { in uprv_tzname() [all …]
|
/external/icu4c/tools/tzcode/ |
D | icuzdump.cpp | 199 … void dumpZone(ostream& out, const char* linesep, UnicodeString tzid, int32_t low, int32_t high) { in dumpZone() argument
|