HomeSort by relevance Sort by last modified time
    Searched defs:tzID (Results 1 - 9 of 9) sorted by null

  /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...]
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...]
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...]
  /external/icu4c/test/intltest/
miscdtfm.cpp 322 UnicodeString tzID = "Asia/Tokyo";
355 if (tzID == (zones[i][0])) {
  /external/icu4c/i18n/
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...]
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...]
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.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...]

Completed in 196 milliseconds