Searched defs:tzID (Results 1 - 16 of 16) sorted by relevance

/external/icu/icu4c/source/i18n/
H A Dudateintervalformat.cpp27 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));
24 udtitvfmt_open(const char* locale, const UChar* skeleton, int32_t skeletonLength, const UChar* tzID, int32_t tzIDLength, UErrorCode* status) argument
H A Dtznames.cpp110 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 { argument
253 return fTZnamesCacheEntry->names->getAvailableMetaZoneIDs(tzID, status);
257 TimeZoneNamesDelegate::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { argument
258 return fTZnamesCacheEntry->names->getMetaZoneID(tzID, date, mzID);
262 TimeZoneNamesDelegate::getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) cons
272 getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const argument
277 getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const argument
317 getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const argument
322 getDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UDate date, UnicodeString& name) const argument
340 MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const UnicodeString* mzID) argument
374 addZone(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString& tzID, UErrorCode& status) argument
[all...]
H A Dudat.cpp130 const UChar *tzID,
141 fmt = (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,status);
173 if(tzID != 0) {
174 TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLength));
127 udat_open(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const char *locale, const UChar *tzID, int32_t tzIDLength, const UChar *pattern, int32_t patternLength, UErrorCode *status) argument
H A Dzonemeta.cpp387 UnicodeString tzID; local
388 return getCanonicalCLDRID(tz.getID(tzID), status);
H A Dtzgnames.cpp55 const UChar* tzID; member in struct:PartialLocationKey
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; member in struct:GNameInfo
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 !
435 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); local
913 findBestMatch(const UnicodeString& text, int32_t start, uint32_t types, UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const argument
1075 const UnicodeString *tzID; local
1347 findBestMatch(const UnicodeString& text, int32_t start, uint32_t types, UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const argument
[all...]
H A Dtznames_impl.cpp634 static TZNames* createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID);
662 TZNames::createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID) { argument
684 TimeZoneNamesImpl::getDefaultExemplarLocationName(tzID, tmpName);
781 const UChar* tzID; member in struct:ZNameInfo
844 if (nameinfo->tzID) {
845 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status);
951 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); local
952 if (tzID != NULL) {
953 loadStrings(UnicodeString(tzID));
1036 TimeZoneNamesImpl::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCod argument
1042 _getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) argument
1076 getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const argument
1082 _getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) argument
1094 _getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) argument
1128 getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const argument
1153 getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const argument
1266 loadTimeZoneNames(const UnicodeString& tzID) argument
1413 getDefaultExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) argument
1895 getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const argument
1900 getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const argument
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dmiscdtfm.cpp322 UnicodeString tzID = "Asia/Tokyo"; local
355 if (tzID == (zones[i][0])) {
/external/icu/icu4c/source/test/cintltst/
H A Dcdtdptst.c232 UChar *pattern=NULL, *tzID=NULL; local
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; local
326 tzID=(UChar*)malloc(sizeof(UChar) * 4);
327 u_uastrcpy(tzID, "PST");
330 /* cal=ucal_open(tzID, u_strle
[all...]
H A Dcmsgtst.c375 UChar *result, tzID[4], str[25]; local
394 u_uastrcpy(tzID, "PST");
395 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
476 UChar *result, *tzID, *str; local
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);
571 UChar *result, *tzID, *str; local
[all...]
H A Dcdtrgtst.c208 UChar tzID[4]; local
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]; local
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_U
[all...]
H A Dccaltst.c99 UChar tzID[4]; local
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);
293 calit=ucal_open(tzID, u_strle
491 UChar tzID[4]; local
755 UChar tzID[4]; local
917 UChar tzID[32]; local
1110 UChar tzID[4]; local
1210 UChar tzID[4]; local
1283 UChar tzID[4]; local
1955 UChar tzID[32]; local
2408 UChar tzID[64]; local
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DTZDBTimeZoneNames.java72 public Set<String> getAvailableMetaZoneIDs(String tzID) { argument
73 return TimeZoneNamesImpl._getAvailableMetaZoneIDs(tzID);
80 public String getMetaZoneID(String tzID, long date) { argument
81 return TimeZoneNamesImpl._getMetaZoneID(tzID, date);
110 public String getTimeZoneDisplayName(String tzID, NameType type) { argument
118 // public String getExemplarLocationName(String tzID) {
119 // return super.getExemplarLocationName(tzID);
H A DTimeZoneNamesImpl.java90 public Set<String> getAvailableMetaZoneIDs(String tzID) { argument
91 return _getAvailableMetaZoneIDs(tzID);
94 static Set<String> _getAvailableMetaZoneIDs(String tzID) { argument
95 if (tzID == null || tzID.length() == 0) {
98 List<MZMapEntry> maps = TZ_TO_MZS_CACHE.getInstance(tzID, tzID);
114 public String getMetaZoneID(String tzID, long date) { argument
115 return _getMetaZoneID(tzID, date);
118 static String _getMetaZoneID(String tzID, lon argument
173 getTimeZoneDisplayName(String tzID, NameType type) argument
184 getExemplarLocationName(String tzID) argument
322 loadTimeZoneNames(String tzID) argument
347 String tzID; field in class:TimeZoneNamesImpl.NameInfo
512 getInstance(ICUResourceBundle zoneStrings, String key, String tzID) argument
722 getDefaultExemplarLocationName(String tzID) argument
[all...]
H A DTimeZoneGenericNames.java263 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, Strin argument
588 String tzID; field in class:TimeZoneGenericNames.NameInfo
598 String tzID; field in class:TimeZoneGenericNames.GenericMatchInfo
606 public String tzID() { method in class:TimeZoneGenericNames.GenericMatchInfo
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DTimeZoneNames.java215 * @param tzID
220 public abstract Set<String> getAvailableMetaZoneIDs(String tzID); argument
225 * @param tzID
234 public abstract String getMetaZoneID(String tzID, long date); argument
276 * @param tzID
286 public final String getDisplayName(String tzID, NameType type, long date) { argument
287 String name = getTimeZoneDisplayName(tzID, type);
289 String mzID = getMetaZoneID(tzID, date);
299 * @param tzID
307 public abstract String getTimeZoneDisplayName(String tzID, NameTyp argument
328 getExemplarLocationName(String tzID) argument
375 MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) argument
402 public String tzID() { method in class:TimeZoneNames.MatchInfo
522 getAvailableMetaZoneIDs(String tzID) argument
532 getMetaZoneID(String tzID, long date) argument
560 getTimeZoneDisplayName(String tzID, NameType type) argument
[all...]
H A DTimeZoneFormat.java1210 return TimeZone.getTimeZone(getTimeZoneID(specificMatch.tzID(), specificMatch.mzID()));
1231 return TimeZone.getTimeZone(getTimeZoneID(tzdbNameMatch.tzID(), tzdbNameMatch.mzID()));
1261 return TimeZone.getTimeZone(bestGeneric.tzID());
1425 parsedID = getTimeZoneID(specificMatch.tzID(), specificMatch.mzID());
1444 parsedID = getTimeZoneID(tzdbNameMatch.tzID(), tzdbNameMatch.mzID());
1456 parsedID = genericMatch.tzID();
1814 * Private method returns a time zone ID. If tzID is not null, the value of tzID is returned.
1815 * If tzID is null, then this method look up a time zone ID for the current region. This is a
1818 * @param tzID
1826 getTimeZoneID(String tzID, String mzID) argument
[all...]

Completed in 323 milliseconds