/external/icu/android_icu4j/src/main/java/android/icu/text/ |
TimeZoneNames.java | 192 * @param tzID 196 public abstract Set<String> getAvailableMetaZoneIDs(String tzID); 201 * @param tzID 209 public abstract String getMetaZoneID(String tzID, long date); 249 * @param tzID 258 public final String getDisplayName(String tzID, NameType type, long date) { 259 String name = getTimeZoneDisplayName(tzID, type); 261 String mzID = getMetaZoneID(tzID, date); 271 * @param tzID 278 public abstract String getTimeZoneDisplayName(String tzID, NameType type) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
TimeZoneNames.java | 214 * @param tzID 219 public abstract Set<String> getAvailableMetaZoneIDs(String tzID); 224 * @param tzID 233 public abstract String getMetaZoneID(String tzID, long date); 275 * @param tzID 285 public final String getDisplayName(String tzID, NameType type, long date) { 286 String name = getTimeZoneDisplayName(tzID, type); 288 String mzID = getMetaZoneID(tzID, date); 298 * @param tzID 306 public abstract String getTimeZoneDisplayName(String tzID, NameType type) [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
tznames.h | 192 * @param tzID The canoical tiem zone ID. 197 virtual StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const = 0; 201 * @param tzID The canonical time zone ID. 209 virtual UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const = 0; 221 * @param tzID Receives the reference zone ID ("golden zone" in the LDML specification) for the given time zone ID for the 227 virtual UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const = 0; 244 * @param tzID The canonical time zone ID. 251 virtual UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const = 0; 266 * @param tzID The canonical time zone ID 272 virtual UnicodeString& getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const [all...] |
udateintervalformat.h | 93 * @param tzID 97 * The length of tzID, or -1 if null-terminated. If 0, use the default 110 const UChar* tzID,
|
tzfmt.h | [all...] |
udat.h | 827 * @param tzID A timezone ID specifying the timezone to use. If 0, use 829 * @param tzIDLength The length of tzID, or -1 if null-terminated. 841 const UChar *tzID, [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TimeZoneNamesImpl.java | 95 public Set<String> getAvailableMetaZoneIDs(String tzID) { 96 return _getAvailableMetaZoneIDs(tzID); 99 static Set<String> _getAvailableMetaZoneIDs(String tzID) { 100 if (tzID == null || tzID.length() == 0) { 103 List<MZMapEntry> maps = TZ_TO_MZS_CACHE.getInstance(tzID, tzID); 119 public String getMetaZoneID(String tzID, long date) { 120 return _getMetaZoneID(tzID, date); 123 static String _getMetaZoneID(String tzID, long date) [all...] |
TimeZoneGenericNames.java | 265 info.tzID = canonicalTzID; 328 String tzID = ZoneMeta.getCanonicalCLDRID(tz); 330 if (tzID == null) { 336 String name = _tznames.getTimeZoneDisplayName(tzID, nameType); 343 String mzID = _tznames.getMetaZoneID(tzID, date); 385 String stdName = _tznames.getDisplayName(tzID, stdNameType, date); 409 if (goldenID != null && !goldenID.equals(tzID)) { 421 name = getPartialLocationName(tzID, mzID, (nameType == NameType.LONG_GENERIC), mzName); 537 * @param tzID the canonical time zone ID 543 private String getPartialLocationName(String tzID, String mzID, boolean isLong, String mzDisplayName) [all...] |
TZDBTimeZoneNames.java | 74 public Set<String> getAvailableMetaZoneIDs(String tzID) { 75 return TimeZoneNamesImpl._getAvailableMetaZoneIDs(tzID); 82 public String getMetaZoneID(String tzID, long date) { 83 return TimeZoneNamesImpl._getMetaZoneID(tzID, date); 112 public String getTimeZoneDisplayName(String tzID, NameType type) { 120 // public String getExemplarLocationName(String tzID) { 121 // return super.getExemplarLocationName(tzID);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TimeZoneNamesImpl.java | 93 public Set<String> getAvailableMetaZoneIDs(String tzID) { 94 return _getAvailableMetaZoneIDs(tzID); 97 static Set<String> _getAvailableMetaZoneIDs(String tzID) { 98 if (tzID == null || tzID.length() == 0) { 101 List<MZMapEntry> maps = TZ_TO_MZS_CACHE.getInstance(tzID, tzID); 117 public String getMetaZoneID(String tzID, long date) { 118 return _getMetaZoneID(tzID, date); 121 static String _getMetaZoneID(String tzID, long date) [all...] |
TimeZoneGenericNames.java | 263 info.tzID = canonicalTzID; 326 String tzID = ZoneMeta.getCanonicalCLDRID(tz); 328 if (tzID == null) { 334 String name = _tznames.getTimeZoneDisplayName(tzID, nameType); 341 String mzID = _tznames.getMetaZoneID(tzID, date); 383 String stdName = _tznames.getDisplayName(tzID, stdNameType, date); 407 if (goldenID != null && !goldenID.equals(tzID)) { 419 name = getPartialLocationName(tzID, mzID, (nameType == NameType.LONG_GENERIC), mzName); 535 * @param tzID the canonical time zone ID 541 private String getPartialLocationName(String tzID, String mzID, boolean isLong, String mzDisplayName) [all...] |
TZDBTimeZoneNames.java | 72 public Set<String> getAvailableMetaZoneIDs(String tzID) { 73 return TimeZoneNamesImpl._getAvailableMetaZoneIDs(tzID); 80 public String getMetaZoneID(String tzID, long date) { 81 return TimeZoneNamesImpl._getMetaZoneID(tzID, date); 110 public String getTimeZoneDisplayName(String tzID, NameType type) { 118 // public String getExemplarLocationName(String tzID) { 119 // return super.getExemplarLocationName(tzID);
|
/external/icu/icu4c/source/i18n/ |
tznames.cpp | 110 StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const; 111 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const; 112 UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const; 115 UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const; 117 UnicodeString& getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const; 252 TimeZoneNamesDelegate::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const { 253 return fTZnamesCacheEntry->names->getAvailableMetaZoneIDs(tzID, status); 257 TimeZoneNamesDelegate::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { 258 return fTZnamesCacheEntry->names->getMetaZoneID(tzID, date, mzID); 262 TimeZoneNamesDelegate::getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const [all...] |
tznames_impl.h | 175 StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const; 177 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const; 178 UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const; 181 UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const; 183 UnicodeString& getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const; 187 static UnicodeString& getDefaultExemplarLocationName(const UnicodeString& tzID, UnicodeString& name); 190 static StringEnumeration* _getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status); 191 static UnicodeString& _getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID); 192 static UnicodeString& _getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID); 226 StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const [all...] |
udateintervalformat.cpp | 27 const UChar* tzID, 35 (tzID == NULL ? tzIDLength != 0 : tzIDLength < -1) 46 if(tzID != 0) { 47 TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLength));
|
tzgnames.cpp | 55 const UChar* tzID; 65 // <tzID>&<mzID>#[L|S] 67 UnicodeString str(p->tzID); 89 // We just check identity of tzID/mzID 90 return (p1->tzID == p2->tzID && p1->mzID == p2->mzID && p1->isLong == p2->isLong); 106 const UChar* tzID; 131 UnicodeString& getTimeZoneID(int32_t index, UnicodeString& tzID) const; 174 TimeZoneGenericNameMatchInfo::getTimeZoneID(int32_t index, UnicodeString& tzID) const { 176 if (minfo != NULL && minfo->gnameInfo->tzID != NULL) [all...] |
tznames_impl.cpp | 634 static TZNames* createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID); 662 TZNames::createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID) { 684 TimeZoneNamesImpl::getDefaultExemplarLocationName(tzID, tmpName); 781 const UChar* tzID; 844 if (nameinfo->tzID) { 845 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status); 951 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); 952 if (tzID != NULL) { 953 loadStrings(UnicodeString(tzID)); 1036 TimeZoneNamesImpl::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const [all...] |
tzgnames.h | 56 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;
|
tzfmt.cpp | 855 UnicodeString tzID(tzIDBuf, 0, UPRV_LENGTHOF(tzIDBuf)); 964 getTimeZoneID(specificMatches.getAlias(), matchIdx, tzID); 965 U_ASSERT(!tzID.isEmpty()); 966 return TimeZone::createTimeZone(tzID); [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cdtdptst.c | 232 UChar *pattern=NULL, *tzID=NULL; 255 tzID=(UChar*)malloc(sizeof(UChar) * 4); 256 u_uastrcpy(tzID, "GMT"); 257 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status); 297 free(tzID); 308 UChar *pattern, *tzID, *exp; 326 tzID=(UChar*)malloc(sizeof(UChar) * 4); 327 u_uastrcpy(tzID, "PST"); 330 /* cal=ucal_open(tzID, u_strlen(tzID), NULL, UCAL_TRADITIONAL, &status); * [all...] |
ccaltst.c | 99 UChar tzID[4]; 131 /*get Illegal TZID where index >= count*/ 134 log_err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(status)); 278 u_uastrcpy(tzID, "PST"); 279 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 284 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 288 u_strcpy(tzID, fgGMTID); 289 calfr=ucal_open(tzID, u_strlen(tzID), "fr_FR", UCAL_TRADITIONAL, &status) [all...] |
cmsgtst.c | 375 UChar *result, tzID[4], str[25]; 394 u_uastrcpy(tzID, "PST"); 395 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 476 UChar *result, *tzID, *str; 495 tzID=(UChar*)malloc(sizeof(UChar) * 4); 496 u_uastrcpy(tzID, "PST"); 497 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 562 free(tzID); [all...] |
cdtrgtst.c | 208 UChar tzID[4]; 211 u_uastrcpy(tzID, "PST"); 214 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 227 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 280 UChar dateString[30], pattern[20], tzID[4]; 286 u_uastrcpy(tzID, "PST"); 288 formatter = udat_open(UDAT_PATTERN,UDAT_PATTERN,"en_US",tzID,-1,pattern, u_strlen(pattern), &status); 293 fmt = udat_open(UDAT_FULL,UDAT_LONG ,NULL, tzID, -1, NULL, 0, &status); 302 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatMiscTests.java | 132 final String tzID = "Asia/Tokyo"; 144 if (tzID.equals(zones[i][0])) { 151 errln("could not find " + tzID);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatMiscTests.java | 128 final String tzID = "Asia/Tokyo"; 140 if (tzID.equals(zones[i][0])) { 147 errln("could not find " + tzID);
|