Home | History | Annotate | Download | only in i18n

Lines Matching refs:tzID

599     static TZNames* createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID);
627 TZNames::createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID) {
649 TimeZoneNamesImpl::getDefaultExemplarLocationName(tzID, tmpName);
746 const UChar* tzID;
809 if (nameinfo->tzID) {
810 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status);
916 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz);
917 if (tzID != NULL) {
918 loadStrings(UnicodeString(tzID));
995 TimeZoneNamesImpl::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const {
999 const UVector* mappings = ZoneMeta::getMetazoneMappings(tzID);
1029 TimeZoneNamesImpl::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const {
1030 ZoneMeta::getMetazoneID(tzID, date, mzID);
1035 TimeZoneNamesImpl::getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const {
1036 ZoneMeta::getZoneIdByMetazone(mzID, UnicodeString(region, -1, US_INV), tzID);
1037 return tzID;
1068 TimeZoneNamesImpl::getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const {
1070 if (tzID.isEmpty()) {
1079 tznames = nonConstThis->loadTimeZoneNames(tzID);
1093 TimeZoneNamesImpl::getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const {
1101 tznames = nonConstThis->loadTimeZoneNames(tzID);
1177 nameinfo->tzID = NULL;
1205 TimeZoneNamesImpl::loadTimeZoneNames(const UnicodeString& tzID) {
1206 if (tzID.length() > ZID_KEY_MAX) {
1214 int32_t tzIDKeyLen = tzID.extract(tzIDKey, ZID_KEY_MAX + 1, status);
1223 UnicodeString uKey(tzID);
1230 tznames = TZNames::createInstance(fZoneStrings, key, tzID);
1239 const UChar* newKey = ZoneMeta::findTimeZoneID(tzID);
1254 nameinfo->tzID = newKey;
1351 TimeZoneNamesImpl::getDefaultExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) {
1352 if (tzID.isEmpty() || tzID.startsWith(gEtcPrefix, gEtcPrefixLen)
1353 || tzID.startsWith(gSystemVPrefix, gSystemVPrefixLen) || tzID.indexOf(gRiyadh8, gRiyadh8Len, 0) > 0) {
1358 int32_t sep = tzID.lastIndexOf((UChar)0x2F /* '/' */);
1359 if (sep > 0 && sep + 1 < tzID.length()) {
1360 name.setTo(tzID, sep + 1);