HomeSort by relevance Sort by last modified time
    Searched refs:tzid (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/third_party/icu/source/i18n/
zonemeta.h 30 * Return the canonical id for this system tzid, which might be the id itself.
31 * If the given system tzid is not know, U_ILLEGAL_ARGUMENT_ERROR is set in the status.
33 static UnicodeString& U_EXPORT2 getCanonicalSystemID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status);
36 * Return the canonical country code for this tzid. If we have none, or if the time zone
39 static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &canonicalCountry);
47 static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country);
50 * Returns a CLDR metazone ID for the given Olson tzid and time.
52 static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result);
58 static const UVector* U_EXPORT2 getMetazoneMappings(const UnicodeString &tzid);
62 static UVector* createMetazoneMappings(const UnicodeString &tzid);
    [all...]
zstrfmt.h 270 inline UnicodeString& getLongStandard(const UnicodeString &tzid, UDate date,
272 inline UnicodeString& getLongDaylight(const UnicodeString &tzid, UDate date,
274 inline UnicodeString& getLongGenericNonLocation(const UnicodeString &tzid, UDate date,
276 inline UnicodeString& getLongGenericPartialLocation(const UnicodeString &tzid, UDate date,
278 inline UnicodeString& getShortStandard(const UnicodeString &tzid, UDate date, UBool commonlyUsedOnly,
280 inline UnicodeString& getShortDaylight(const UnicodeString &tzid, UDate date, UBool commonlyUsedOnly,
282 inline UnicodeString& getShortGenericNonLocation(const UnicodeString &tzid, UDate date, UBool commonlyUsedOnly,
284 inline UnicodeString& getShortGenericPartialLocation(const UnicodeString &tzid, UDate date, UBool commonlyUsedOnly,
286 inline UnicodeString& getGenericLocation(const UnicodeString &tzid, UnicodeString &result) const;
310 UnicodeString& getString(const UnicodeString &tzid, TimeZoneTranslationTypeIndex typeIdx, UDate date
    [all...]
zonemeta.cpp 188 ZoneMeta::getCanonicalSystemID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status) {
189 int32_t len = tzid.length();
197 const UChar* idChars = tzid.getBuffer();
218 systemID.setTo(tzid);
238 const UChar *derefer = TimeZone::dereferOlsonLink(tzid);
275 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &canonicalCountry) {
276 const UChar *region = TimeZone::getRegion(tzid);
286 ZoneMeta::getSingleCountry(const UnicodeString &tzid, UnicodeString &country) {
288 const UChar *region = TimeZone::getRegion(tzid);
405 ZoneMeta::getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result)
607 const UChar *tzid = NULL; local
    [all...]
zstrfmt.cpp 679 // because generic location format is generated from tzid for the case.
742 char tzid[ZID_KEY_MAX+1]; local
744 utzid.extract(0, utzid.length(), tzid, ZID_KEY_MAX, US_INV);
823 if (uprv_strlen(tzid) > 4 && uprv_strncmp(tzid, "Etc/", 4) == 0) {
1125 const char *tzid; local
1207 const UChar *tzid; local
1262 UnicodeString tzid; local
1279 UnicodeString tzid; local
1304 UnicodeString tzid; local
1422 UnicodeString tzid; local
    [all...]
vtzone.cpp 47 static const UChar ICAL_TZID[] = {0x54, 0x5A, 0x49, 0x44, 0}; /* "TZID" */
357 * Create a default TZNAME from TZID
359 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) {
360 zonename = tzid;
1352 UnicodeString tzid; local
1773 UnicodeString tzid; local
1837 UnicodeString tzid; local
2070 UnicodeString tzid; local
2171 UnicodeString tzid; local
    [all...]
simpletz.cpp 1072 UnicodeString tzid; local
    [all...]
  /external/icu/icu4c/source/i18n/
zonemeta.h 31 * Return the canonical id for this tzid defined by CLDR, which might be the id itself.
32 * If the given system tzid is not known, U_ILLEGAL_ARGUMENT_ERROR is set in the status.
37 static UnicodeString& U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status);
40 * Return the canonical id for this tzid defined by CLDR, which might be the id itself.
44 static const UChar* U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status);
52 * Return the canonical country code for this tzid. If we have none, or if the time zone
54 * @param tzid Zone ID
59 static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary = NULL);
62 * Returns a CLDR metazone ID for the given Olson tzid and time.
64 static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result)
    [all...]
zonemeta.cpp 235 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) {
240 if (tzid.isBogus() || tzid.length() > ZID_KEY_MAX) {
255 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus);
256 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already
272 tzid.extract(0, 0x7fffffff, id, LENGTHOF(id), US_INV);
289 canonicalID = TimeZone::findID(tzid);
306 const UChar *derefer = TimeZone::dereferOlsonLink(tzid);
348 const UChar* key = ZoneMeta::findTimeZoneID(tzid);
371 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status)
713 const UChar *tzid = NULL; local
    [all...]
olsontz.cpp 120 const UnicodeString& tzid,
122 BasicTimeZone(tzid), finalZone(NULL)
255 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec);
709 UnicodeString tzid; local
710 getID(tzid);
712 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)");
713 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)");
847 finalZone->getID(tzid);
848 firstFinalRule = new TimeArrayTimeZoneRule(tzid,
    [all...]
vtzone.cpp 47 static const UChar ICAL_TZID[] = {0x54, 0x5A, 0x49, 0x44, 0}; /* "TZID" */
357 * Create a default TZNAME from TZID
359 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) {
360 zonename = tzid;
1358 UnicodeString tzid; local
1779 UnicodeString tzid; local
1843 UnicodeString tzid; local
2076 UnicodeString tzid; local
2187 UnicodeString tzid; local
    [all...]
simpletz.cpp 1102 UnicodeString tzid; local
    [all...]
olsontz.h 121 * @param tzid the time zone ID
126 const UnicodeString& tzid,
  /external/icu/icu4c/source/test/cintltst/
cdateintervalformattest.c 42 const char * tzid; member in struct:__anon25807
78 const char * tzidForLog = (testItemPtr->tzid)? testItemPtr->tzid: "NULL";
82 if ( testItemPtr->tzid ) {
83 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen);
100 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n",
105 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n",
110 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n",
  /external/icu/icu4c/source/test/intltest/
tzfmttst.cpp 174 const UnicodeString *tzid; local
175 while ((tzid = tzids->snext(status))) {
176 TimeZone *tz = TimeZone::createTimeZone(*tzid);
210 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid);
222 TimeZone::getCanonicalID(*tzid, canonicalID, status);
225 errln((UnicodeString)"Unknown ID " + *tzid);
231 logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid
236 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid
244 if (outtzid != *tzid) {
245 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid
437 const UnicodeString *tzid; local
922 const char* tzid; member in struct:__anon25963
    [all...]
tzrulets.cpp 613 const UnicodeString *tzid = tzenum.snext(status); local
614 if (tzid == NULL) {
621 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
648 const UnicodeString *tzid = tzenum.snext(status); local
649 if (tzid == NULL) {
656 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
663 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid);
665 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone());
667 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid);
672 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid);
785 const UnicodeString *tzid = tzenum.snext(status); local
885 const UnicodeString *tzid = tzenum.snext(status); local
981 const UnicodeString *tzid = tzenum.snext(status); local
1121 const UnicodeString *tzid = tzenum.snext(status); local
1870 UnicodeString tzid; local
2337 UnicodeString tzid; local
    [all...]
caltest.cpp 372 UnicodeString tzid("TestZone");
375 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid);
434 if (z->getID(str) != tzid ||
2508 const char* tzid; member in struct:__anon25908
2606 const char* tzid; member in struct:__anon25909
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
tzfmttst.cpp 126 const UnicodeString *tzid; local
127 while ((tzid = tzids->snext(status))) {
128 TimeZone *tz = TimeZone::createTimeZone(*tzid);
162 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid);
176 TimeZone::getCanonicalID(*tzid, canonical, status);
179 errln((UnicodeString)"Unknown ID " + *tzid);
186 logln("Canonical round trip failed (as expected); tz=" + *tzid
191 errln("Canonical round trip failed; tz=" + *tzid
216 errln((UnicodeString)"Offset round trip failed; tz=" + *tzid
224 errln((UnicodeString)"Raw offset round trip failed; tz=" + *tzid
328 const UnicodeString *tzid; local
    [all...]
tzrulets.cpp 614 const UnicodeString *tzid = tzenum.snext(status); local
615 if (tzid == NULL) {
622 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
649 const UnicodeString *tzid = tzenum.snext(status); local
650 if (tzid == NULL) {
657 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
664 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid);
666 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone());
668 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid);
673 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid);
786 const UnicodeString *tzid = tzenum.snext(status); local
886 const UnicodeString *tzid = tzenum.snext(status); local
982 const UnicodeString *tzid = tzenum.snext(status); local
1122 const UnicodeString *tzid = tzenum.snext(status); local
1871 UnicodeString tzid; local
2338 UnicodeString tzid; local
    [all...]
  /external/chromium_org/third_party/icu/source/test/perf/normperf/
dtfmtrtperf.h 161 const UnicodeString *tzid; local
162 while ((tzid = tzids->snext(*status))) {
163 TimeZone *tz = TimeZone::createTimeZone(*tzid);
  /external/icu/icu4c/source/test/perf/normperf/
dtfmtrtperf.h 161 const UnicodeString *tzid; local
162 while ((tzid = tzids->snext(*status))) {
163 TimeZone *tz = TimeZone::createTimeZone(*tzid);
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
RecurrenceSet.java 197 dtstartProperty.getFirstParameter("TZID");
199 String tzid = tzidParam == null ? null : tzidParam.value; local
200 Time start = new Time(tzidParam == null ? Time.TIMEZONE_UTC : tzid);
207 tzid = Time.TIMEZONE_UTC;
244 values.put(CalendarContract.Events.EVENT_TIMEZONE, tzid);
274 String tzid = cursor.getString(tzidColumn); local
291 if (!TextUtils.isEmpty(tzid)) {
293 dtstartProp.addParameter(new ICalendar.Parameter("TZID", tzid));
295 dtstartTime = new Time(tzid);
332 final String tzid = values.getAsString(CalendarContract.Events.EVENT_TIMEZONE); local
    [all...]
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
RecurrenceSetTest.java 36 String recurrence = "DTSTART;TZID=America/New_York:20080221T070000\n"
37 + "DTEND;TZID=America/New_York:20080221T190000\n"
77 String recurrence = "DTSTART;TZID=America/Los_Angeles:20090821T010203\n"
78 + "RDATE;TZID=America/Los_Angeles;VALUE=DATE:20110601,20110602,20110603\n"
81 //"TZID=America/Los_Angeles;VALUE=DATE:20110601,20110602,20110603",
90 String recurrence = "DTSTART;TZID=America/Los_Angeles:20090821T070000\n"
91 + "DTEND;TZID=America/New_York:20090821T110000\n"
98 String recurrence2 = "DTSTART;TZID=America/New_York:20090821T100000\n"
99 + "DTEND;TZID=America/Los_Angeles:20090821T080000\n"
104 // TODO: should we rigorously define which tzid becomes the "event timezone"
    [all...]
  /packages/providers/CalendarProvider/
maketests.py 35 DTSTART_TZID = re.compile("DTSTART;TZID=(.*):(.*)")
79 tzid = "" variable
92 tzid = re_dtstart.group(1) variable
  /external/icu/icu4c/source/common/
putil.cpp 997 const char *tzid = NULL; local
    [all...]
  /external/chromium_org/third_party/icu/source/common/
putil.c 974 const char *tzid = NULL; local
976 tzid = uprv_detectWindowsTimeZone();
978 if (tzid != NULL) {
979 return tzid;
986 tzid = getenv("TZFILE");
987 if (tzid != NULL) {
988 return tzid;
994 tzid = getenv("TZ");
995 if (tzid != NULL && isValidOlsonID(tzid))
    [all...]

Completed in 811 milliseconds

1 2