Home | History | Annotate | Download | only in i18n

Lines Matching defs:tzid

236 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) {
241 if (tzid.isBogus() || tzid.length() > ZID_KEY_MAX) {
256 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus);
257 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already
279 tzid.extract(0, 0x7fffffff, id, UPRV_LENGTHOF(id), US_INV);
296 canonicalID = TimeZone::findID(tzid);
313 const UChar *derefer = TimeZone::dereferOlsonLink(tzid);
355 const UChar* key = ZoneMeta::findTimeZoneID(tzid);
378 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status) {
379 const UChar *canonicalID = getCanonicalCLDRID(tzid, status);
396 UnicodeString tzID;
397 return getCanonicalCLDRID(tz.getID(tzID), status);
423 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary /* = NULL */) {
428 const UChar *region = TimeZone::getRegion(tzid);
507 if (tzid.compare(primaryZone, idLen) == 0) {
512 TimeZone::getCanonicalID(tzid, canonicalID, status);
526 ZoneMeta::getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) {
528 const UVector *mappings = getMetazoneMappings(tzid);
559 ZoneMeta::getMetazoneMappings(const UnicodeString &tzid) {
562 tzid.extract(tzidUChars, ZID_KEY_MAX + 1, status);
586 UVector *tmpResult = createMetazoneMappings(tzid);
599 int32_t tzidLen = tzid.length() + 1;
606 tzid.extract(key, tzidLen, status);
627 ZoneMeta::createMetazoneMappings(const UnicodeString &tzid) {
634 getCanonicalCLDRID(tzid, canonicalID, status);
641 // tzid keys are using ':' as separators
720 const UChar *tzid = NULL;
742 tzid = ures_getStringByKey(rb, keyBuf, &tzidLen, &status);
747 if (U_SUCCESS(status) && tzid == NULL) {
749 tzid = ures_getStringByKey(rb, gWorldTag, &tzidLen, &status);
754 if (tzid == NULL) {
757 result.setTo(tzid, tzidLen);
840 ZoneMeta::findTimeZoneID(const UnicodeString& tzid) {
841 return TimeZone::findID(tzid);