Lines Matching defs:tzID
235 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) {
240 if (tzid.isBogus() || tzid.length() > ZID_KEY_MAX) {
255 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus);
256 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already
272 tzid.extract(0, 0x7fffffff, id, LENGTHOF(id), US_INV);
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) {
372 const UChar *canonicalID = getCanonicalCLDRID(tzid, status);
389 UnicodeString tzID;
390 return getCanonicalCLDRID(tz.getID(tzID), status);
416 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary /* = NULL */) {
421 const UChar *region = TimeZone::getRegion(tzid);
500 if (tzid.compare(primaryZone, idLen) == 0) {
505 TimeZone::getCanonicalID(tzid, canonicalID, status);
519 ZoneMeta::getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) {
521 const UVector *mappings = getMetazoneMappings(tzid);
552 ZoneMeta::getMetazoneMappings(const UnicodeString &tzid) {
555 tzid.extract(tzidUChars, ZID_KEY_MAX + 1, status);
579 UVector *tmpResult = createMetazoneMappings(tzid);
592 int32_t tzidLen = tzid.length() + 1;
599 tzid.extract(key, tzidLen, status);
620 ZoneMeta::createMetazoneMappings(const UnicodeString &tzid) {
627 getCanonicalCLDRID(tzid, canonicalID, status);
634 // tzid keys are using ':' as separators
713 const UChar *tzid = NULL;
735 tzid = ures_getStringByKey(rb, keyBuf, &tzidLen, &status);
740 if (U_SUCCESS(status) && tzid == NULL) {
742 tzid = ures_getStringByKey(rb, gWorldTag, &tzidLen, &status);
747 if (tzid == NULL) {
750 result.setTo(tzid, tzidLen);
833 ZoneMeta::findTimeZoneID(const UnicodeString& tzid) {
834 return TimeZone::findID(tzid);