/external/icu4c/i18n/unicode/ |
tznames.h | 169 * @param tzID The canoical tiem zone ID. 174 virtual StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const = 0; 178 * @param tzID The canonical time zone ID. 186 virtual UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const = 0; 192 * @param tzID Receives the reference zone ID ("golden zone" in the LDML specification) for the given time zone ID for the 198 virtual UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const = 0; 215 * @param tzID The canonical time zone ID. 222 virtual UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const = 0; 237 * @param tzID The canonical time zone ID 243 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,
|
udat.h | 759 * @param tzID A timezone ID specifying the timezone to use. If 0, use 761 * @param tzIDLength The length of tzID, or -1 if null-terminated. 773 const UChar *tzID, [all...] |
tzfmt.h | 829 * @param tzID receives the resolved time zone ID 830 * @return a reference to tzID. 832 UnicodeString& getTimeZoneID(const TimeZoneNames::MatchInfoCollection* matches, int32_t idx, UnicodeString& tzID) const; [all...] |
/external/icu4c/i18n/ |
tznames.cpp | 116 StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const; 117 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const; 118 UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const; 121 UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeString& name) const; 123 UnicodeString& getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const; 269 TimeZoneNamesDelegate::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const { 270 return fTZnamesCacheEntry->names->getAvailableMetaZoneIDs(tzID, status); 274 TimeZoneNamesDelegate::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { 275 return fTZnamesCacheEntry->names->getMetaZoneID(tzID, date, mzID); 279 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;
|
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 | 712 const UChar* tzID; 775 if (nameinfo->tzID) { 776 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status); 882 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); 883 if (tzID != NULL) { 884 loadStrings(UnicodeString(tzID)); 961 TimeZoneNamesImpl::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const { 965 const UVector* mappings = ZoneMeta::getMetazoneMappings(tzID); 995 TimeZoneNamesImpl::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { 996 ZoneMeta::getMetazoneID(tzID, date, mzID) [all...] |
tzgnames.h | 56 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;
|
tzfmt.cpp | 684 UnicodeString tzID; 753 getTimeZoneID(specificMatches.getAlias(), matchIdx, tzID); 754 U_ASSERT(!tzID.isEmpty()); 755 return TimeZone::createTimeZone(tzID); 786 len = gnames->findBestMatch(text, startIdx, genericNameTypes, tzID, parsedTimeType, status); 798 U_ASSERT(!tzID.isEmpty()); 799 return TimeZone::createTimeZone(tzID); 908 genMatchLen = gnames->findBestMatch(text, startIdx, ALL_GENERIC_NAME_TYPES, tzID, parsedTimeType, status); 923 U_ASSERT(!tzID.isEmpty()); 924 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 | 214 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { 219 int32_t len = tzid.length(); 253 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); 254 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already 270 const UChar* idChars = tzid.getBuffer(); 290 canonicalID = TimeZone::findID(tzid); 307 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); 349 const UChar* key = ZoneMeta::findTimeZoneID(tzid); 372 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status) { 373 const UChar *canonicalID = getCanonicalCLDRID(tzid, status) 716 const UChar *tzid = NULL; local [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 | 372 UChar *result, tzID[4], str[25]; 391 u_uastrcpy(tzID, "PST"); 392 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 473 UChar *result, *tzID, *str; 492 tzID=(UChar*)malloc(sizeof(UChar) * 4); 493 u_uastrcpy(tzID, "PST"); 494 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 559 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/icu4c/test/intltest/ |
miscdtfm.cpp | 322 UnicodeString tzID = "Asia/Tokyo"; 355 if (tzID == (zones[i][0])) {
|