/external/icu4c/i18n/unicode/ |
tznames.h | 183 * @param tzID The canoical tiem zone ID. 188 virtual StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const = 0; 192 * @param tzID The canonical time zone ID. 200 virtual UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const = 0; 212 * @param tzID Receives the reference zone ID ("golden zone" in the LDML specification) for the given time zone ID for the 218 virtual UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const = 0; 235 * @param tzID The canonical time zone ID. 242 virtual UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const = 0; 257 * @param tzID The canonical time zone ID 263 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 | 799 * @param tzID A timezone ID specifying the timezone to use. If 0, use 801 * @param tzIDLength The length of tzID, or -1 if null-terminated. 813 const UChar *tzID, [all...] |
/external/icu4c/i18n/ |
tznames.cpp | 109 StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const; 110 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const; 111 UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const; 114 UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const; 116 UnicodeString& getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const; 262 TimeZoneNamesDelegate::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const { 263 return fTZnamesCacheEntry->names->getAvailableMetaZoneIDs(tzID, status); 267 TimeZoneNamesDelegate::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { 268 return fTZnamesCacheEntry->names->getMetaZoneID(tzID, date, mzID); 272 TimeZoneNamesDelegate::getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) 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));
|
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);
|
tzgnames.cpp | 56 const UChar* tzID; 66 // <tzID>&<mzID>#[L|S] 68 UnicodeString str(p->tzID); 90 // We just check identity of tzID/mzID 91 return (p1->tzID == p2->tzID && p1->mzID == p2->mzID && p1->isLong == p2->isLong); 107 const UChar* tzID; 132 UnicodeString& getTimeZoneID(int32_t index, UnicodeString& tzID) const; 175 TimeZoneGenericNameMatchInfo::getTimeZoneID(int32_t index, UnicodeString& tzID) const { 177 if (minfo != NULL && minfo->gnameInfo->tzID != NULL) [all...] |
tznames_impl.cpp | 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 [all...] |
tzgnames.h | 56 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;
|
tzfmt.cpp | 835 UnicodeString tzID; 942 getTimeZoneID(specificMatches.getAlias(), matchIdx, tzID); 943 U_ASSERT(!tzID.isEmpty()); 944 return TimeZone::createTimeZone(tzID); [all...] |
udat.cpp | 126 const UChar *tzID, 137 fmt = (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,status); 169 if(tzID != 0) { 170 TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLength)); [all...] |
zonemeta.cpp | 216 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { 221 int32_t len = tzid.length(); 255 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); 256 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already 272 const UChar* idChars = tzid.getBuffer(); 292 canonicalID = TimeZone::findID(tzid); 309 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); 351 const UChar* key = ZoneMeta::findTimeZoneID(tzid); 374 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status) { 375 const UChar *canonicalID = getCanonicalCLDRID(tzid, status) 733 const UChar *tzid = NULL; local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cdtdptst.c | 230 UChar *pattern=NULL, *tzID=NULL; 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; 324 tzID=(UChar*)malloc(sizeof(UChar) * 4); 325 u_uastrcpy(tzID, "PST"); 328 /* cal=ucal_open(tzID, u_strlen(tzID), NULL, UCAL_TRADITIONAL, &status); * [all...] |
ccaltst.c | 86 UChar tzID[4]; 118 /*get Illegal TZID where index >= count*/ 121 log_err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(status)); 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) [all...] |
cmsgtst.c | 370 UChar *result, tzID[4], str[25]; 389 u_uastrcpy(tzID, "PST"); 390 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 471 UChar *result, *tzID, *str; 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); [all...] |
cdtrgtst.c | 208 UChar tzID[4]; 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]; 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_US", UCAL_GREGORIAN, &status) [all...] |
/external/icu4c/test/cintltst/ |
cdtdptst.c | 230 UChar *pattern=NULL, *tzID=NULL; 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; 324 tzID=(UChar*)malloc(sizeof(UChar) * 4); 325 u_uastrcpy(tzID, "PST"); 328 /* cal=ucal_open(tzID, u_strlen(tzID), NULL, UCAL_TRADITIONAL, &status); * [all...] |
ccaltst.c | 93 UChar tzID[4]; 125 /*get Illegal TZID where index >= count*/ 128 log_err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(status)); 272 u_uastrcpy(tzID, "PST"); 273 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 278 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 282 u_strcpy(tzID, fgGMTID); 283 calfr=ucal_open(tzID, u_strlen(tzID), "fr_FR", UCAL_TRADITIONAL, &status) [all...] |
cmsgtst.c | 376 UChar *result, tzID[4], str[25]; 395 u_uastrcpy(tzID, "PST"); 396 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 477 UChar *result, *tzID, *str; 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); [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); 301 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
miscdtfm.cpp | 319 UnicodeString tzID = "Asia/Tokyo"; 352 if (tzID == (zones[i][0])) {
|
/external/icu4c/test/intltest/ |
miscdtfm.cpp | 322 UnicodeString tzID = "Asia/Tokyo"; 355 if (tzID == (zones[i][0])) {
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
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, [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
udat.cpp | 89 const UChar *tzID, 126 if(tzID != 0) { 127 TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLength));
|