/external/icu/icu4c/source/i18n/unicode/ |
H A D | tznames.h | 180 * @param tzID The canoical tiem zone ID. 185 virtual StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const = 0; 189 * @param tzID The canonical time zone ID. 197 virtual UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const = 0; 209 * @param tzID Receives the reference zone ID ("golden zone" in the LDML specification) for the given time zone ID for the 215 virtual UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const = 0; 232 * @param tzID The canonical time zone ID. 239 virtual UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const = 0; 254 * @param tzID The canonical time zone ID 260 virtual UnicodeString& getExemplarLocationName(const UnicodeString& tzID, UnicodeStrin [all...] |
H A D | udateintervalformat.h | 93 * @param tzID 97 * The length of tzID, or -1 if null-terminated. If 0, use the default 110 const UChar* tzID,
|
H A D | tzfmt.h | 1039 * @param tzID receives the resolved time zone ID 1040 * @return a reference to tzID. 1042 UnicodeString& getTimeZoneID(const TimeZoneNames::MatchInfoCollection* matches, int32_t idx, UnicodeString& tzID) const; 1049 * @param tzID receives the zone ID 1050 * @return a reference to tzID 1052 UnicodeString& parseZoneID(const UnicodeString& text, ParsePosition& pos, UnicodeString& tzID) const; 1058 * @param tzID receives the short zone ID 1059 * @return a reference to tzID 1061 UnicodeString& parseShortZoneID(const UnicodeString& text, ParsePosition& pos, UnicodeString& tzID) const; 1067 * @param tzID receive [all...] |
H A D | udat.h | 806 * @param tzID A timezone ID specifying the timezone to use. If 0, use 808 * @param tzIDLength The length of tzID, or -1 if null-terminated. 820 const UChar *tzID, 1422 const UChar *tzID,
|
/external/icu/icu4c/source/i18n/ |
H A D | 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 { 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 298 getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const argument 303 getDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UDate date, UnicodeString& name) const argument 320 MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const UnicodeString* mzID) argument 354 addZone(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString& tzID, UErrorCode& status) argument [all...] |
H A D | 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)); 24 udtitvfmt_open(const char* locale, const UChar* skeleton, int32_t skeletonLength, const UChar* tzID, int32_t tzIDLength, UErrorCode* status) argument
|
H A D | 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);
|
H A D | tzgnames.cpp | 55 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 909 findBestMatch(const UnicodeString& text, int32_t start, uint32_t types, UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const argument 1071 const UnicodeString *tzID; local 1343 findBestMatch(const UnicodeString& text, int32_t start, uint32_t types, UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const argument [all...] |
H A D | tznames_impl.cpp | 604 static TZNames* createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID); 632 TZNames::createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID) { argument 654 TimeZoneNamesImpl::getDefaultExemplarLocationName(tzID, tmpName); 751 const UChar* tzID; member in struct:ZNameInfo 814 if (nameinfo->tzID) { 815 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status); 921 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); local 922 if (tzID != NULL) { 923 loadStrings(UnicodeString(tzID)); 1000 TimeZoneNamesImpl::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCod argument 1034 getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const argument 1073 getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const argument 1098 getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const argument 1210 loadTimeZoneNames(const UnicodeString& tzID) argument 1356 getDefaultExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) argument [all...] |
H A D | tzgnames.h | 56 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;
|
H A D | tzfmt.cpp | 847 UnicodeString tzID; local 954 getTimeZoneID(specificMatches.getAlias(), matchIdx, tzID); 955 U_ASSERT(!tzID.isEmpty()); 956 return TimeZone::createTimeZone(tzID); 987 len = gnames->findBestMatch(text, startIdx, genericNameTypes, tzID, tt, status); 999 U_ASSERT(!tzID.isEmpty()); 1000 return TimeZone::createTimeZone(tzID); 1010 parseZoneID(text, tmpPos, tzID); 1013 return TimeZone::createTimeZone(tzID); 1022 parseShortZoneID(text, tmpPos, tzID); [all...] |
H A D | udat.cpp | 129 const UChar *tzID, 140 fmt = (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,status); 172 if(tzID != 0) { 173 TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLength)); 126 udat_open(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const char *locale, const UChar *tzID, int32_t tzIDLength, const UChar *pattern, int32_t patternLength, UErrorCode *status) argument
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | cdtdptst.c | 230 UChar *pattern=NULL, *tzID=NULL; local 253 tzID=(UChar*)malloc(sizeof(UChar) * 4); 254 u_uastrcpy(tzID, "GMT"); 255 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status); 295 free(tzID); 306 UChar *pattern, *tzID, *exp; local 324 tzID=(UChar*)malloc(sizeof(UChar) * 4); 325 u_uastrcpy(tzID, "PST"); 328 /* cal=ucal_open(tzID, u_strle [all...] |
H A D | ccaltst.c | 86 UChar tzID[4]; local 241 u_uastrcpy(tzID, "PST"); 242 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 247 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 251 u_strcpy(tzID, fgGMTID); 252 calfr=ucal_open(tzID, u_strlen(tzID), "fr_FR", UCAL_TRADITIONAL, &status); 256 calit=ucal_open(tzID, u_strle 454 UChar tzID[4]; local 646 UChar tzID[4]; local 794 UChar tzID[4]; local 959 UChar tzID[4]; local 1059 UChar tzID[4]; local 1132 UChar tzID[4]; local [all...] |
H A D | cmsgtst.c | 370 UChar *result, tzID[4], str[25]; local 389 u_uastrcpy(tzID, "PST"); 390 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 471 UChar *result, *tzID, *str; local 490 tzID=(UChar*)malloc(sizeof(UChar) * 4); 491 u_uastrcpy(tzID, "PST"); 492 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 557 free(tzID); 566 UChar *result, *tzID, *str; local [all...] |
H A D | cdtrgtst.c | 208 UChar tzID[4]; local 211 u_uastrcpy(tzID, "PST"); 214 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 227 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,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_IGNORE,UDAT_IGNORE,"en_US",tzID,-1,pattern, u_strlen(pattern), &status); 293 fmt = udat_open(UDAT_FULL,UDAT_LONG ,NULL, tzID, -1, NULL, 0, &status); 301 cal=ucal_open(tzID, u_strlen(tzID), "en_U [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdtdptst.c | 230 UChar *pattern=NULL, *tzID=NULL; local 253 tzID=(UChar*)malloc(sizeof(UChar) * 4); 254 u_uastrcpy(tzID, "GMT"); 255 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status); 295 free(tzID); 306 UChar *pattern, *tzID, *exp; local 324 tzID=(UChar*)malloc(sizeof(UChar) * 4); 325 u_uastrcpy(tzID, "PST"); 328 /* cal=ucal_open(tzID, u_strle [all...] |
H A D | ccaltst.c | 99 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...] |
H A D | cmsgtst.c | 376 UChar *result, tzID[4], str[25]; local 395 u_uastrcpy(tzID, "PST"); 396 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 477 UChar *result, *tzID, *str; local 496 tzID=(UChar*)malloc(sizeof(UChar) * 4); 497 u_uastrcpy(tzID, "PST"); 498 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 563 free(tzID); 572 UChar *result, *tzID, *str; local [all...] |
H A D | cdtrgtst.c | 208 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...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | miscdtfm.cpp | 319 UnicodeString tzID = "Asia/Tokyo"; local 352 if (tzID == (zones[i][0])) {
|
/external/icu/icu4c/source/test/intltest/ |
H A D | miscdtfm.cpp | 322 UnicodeString tzID = "Asia/Tokyo"; local 355 if (tzID == (zones[i][0])) {
|
/external/chromium_org/v8/src/ |
H A D | i18n.js | 1696 function canonicalizeTimeZoneID(tzID) { 1698 if (tzID === undefined) { 1699 return tzID; 1703 var upperID = tzID.toUpperCase(); 1711 var match = GetTimezoneNameCheckRE().exec(tzID); 1713 throw new $RangeError('Expected Area/Location for time zone, got ' + tzID);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | udat.h | 523 * @param tzID A timezone ID specifying the timezone to use. If 0, use 525 * @param tzIDLength The length of tzID, or -1 if null-terminated. 537 const UChar *tzID,
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | udat.cpp | 89 const UChar *tzID, 126 if(tzID != 0) { 127 TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLength)); 86 udat_open(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const char *locale, const UChar *tzID, int32_t tzIDLength, const UChar *pattern, int32_t patternLength, UErrorCode *status) argument
|