Home | History | Annotate | Download | only in i18n

Lines Matching refs:tzID

216 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) {
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) {
375 const UChar *canonicalID = getCanonicalCLDRID(tzid, status);
392 UnicodeString tzID;
393 return getCanonicalCLDRID(tz.getID(tzID), status);
397 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary /* = NULL */) {
402 const UChar *region = TimeZone::getRegion(tzid);
511 if (tzid.compare(primaryZone, idLen) == 0) {
516 TimeZone::getCanonicalID(tzid, canonicalID, status);
530 ZoneMeta::getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) {
532 const UVector *mappings = getMetazoneMappings(tzid);
550 ZoneMeta::getMetazoneMappings(const UnicodeString &tzid) {
553 tzid.extract(tzidUChars, ZID_KEY_MAX + 1, status);
599 UVector *tmpResult = createMetazoneMappings(tzid);
612 int32_t tzidLen = tzid.length() + 1;
619 tzid.extract(key, tzidLen, status);
640 ZoneMeta::createMetazoneMappings(const UnicodeString &tzid) {
647 getCanonicalCLDRID(tzid, canonicalID, status);
654 // tzid keys are using ':' as separators
733 const UChar *tzid = NULL;
755 tzid = ures_getStringByKey(rb, keyBuf, &tzidLen, &status);
760 if (U_SUCCESS(status) && tzid == NULL) {
762 tzid = ures_getStringByKey(rb, gWorldTag, &tzidLen, &status);
767 if (tzid == NULL) {
770 result.setTo(tzid, tzidLen);
860 ZoneMeta::findTimeZoneID(const UnicodeString& tzid) {
861 return TimeZone::findID(tzid);