Home | History | Annotate | Download | only in i18n

Lines Matching defs:tzID

604     static TZNames* createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID);
632 TZNames::createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID) {
654 TimeZoneNamesImpl::getDefaultExemplarLocationName(tzID, tmpName);
751 const UChar* tzID;
814 if (nameinfo->tzID) {
815 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status);
921 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz);
922 if (tzID != NULL) {
923 loadStrings(UnicodeString(tzID));
1000 TimeZoneNamesImpl::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const {
1004 const UVector* mappings = ZoneMeta::getMetazoneMappings(tzID);
1034 TimeZoneNamesImpl::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const {
1035 ZoneMeta::getMetazoneID(tzID, date, mzID);
1040 TimeZoneNamesImpl::getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const {
1041 ZoneMeta::getZoneIdByMetazone(mzID, UnicodeString(region, -1, US_INV), tzID);
1042 return tzID;
1073 TimeZoneNamesImpl::getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const {
1075 if (tzID.isEmpty()) {
1084 tznames = nonConstThis->loadTimeZoneNames(tzID);
1098 TimeZoneNamesImpl::getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const {
1106 tznames = nonConstThis->loadTimeZoneNames(tzID);
1182 nameinfo->tzID = NULL;
1210 TimeZoneNamesImpl::loadTimeZoneNames(const UnicodeString& tzID) {
1211 if (tzID.length() > ZID_KEY_MAX) {
1219 int32_t tzIDKeyLen = tzID.extract(tzIDKey, ZID_KEY_MAX + 1, status);
1228 UnicodeString uKey(tzID);
1235 tznames = TZNames::createInstance(fZoneStrings, key, tzID);
1244 const UChar* newKey = ZoneMeta::findTimeZoneID(tzID);
1259 nameinfo->tzID = newKey;
1356 TimeZoneNamesImpl::getDefaultExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) {
1357 if (tzID.isEmpty() || tzID.startsWith(gEtcPrefix, gEtcPrefixLen)
1358 || tzID.startsWith(gSystemVPrefix, gSystemVPrefixLen) || tzID.indexOf(gRiyadh8, gRiyadh8Len, 0) > 0) {
1363 int32_t sep = tzID.lastIndexOf((UChar)0x2F /* '/' */);
1364 if (sep > 0 && sep + 1 < tzID.length()) {
1365 name.setTo(tzID, sep + 1);