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

  /external/icu4c/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
55 static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &canonicalCountry);
63 static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country);
66 * Returns a CLDR metazone ID for the given Olson tzid and time.
68 static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result)
    [all...]
zonemeta.cpp 213 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) {
218 int32_t len = tzid.length();
252 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus);
253 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already
269 const UChar* idChars = tzid.getBuffer();
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) {
372 const UChar *canonicalID = getCanonicalCLDRID(tzid, status)
713 const UChar *tzid = NULL; local
    [all...]
olsontz.cpp 119 const UnicodeString& tzid,
121 BasicTimeZone(tzid), finalZone(NULL), transitionRulesInitialized(FALSE)
254 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec);
692 UnicodeString tzid; local
693 getID(tzid);
695 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)");
696 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)");
830 finalZone->getID(tzid);
831 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;
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...]
olsontz.h 120 * @param tzid the time zone ID
125 const UnicodeString& tzid,
dtfmtsym.cpp 1084 const UnicodeString *tzid; local
    [all...]
  /external/icu4c/test/cintltst/
cdateintervalformattest.c 42 const char * tzid; member in struct:__anon7002
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/icu4c/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
336 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...]
tztest.cpp     [all...]
caltest.cpp 297 UnicodeString tzid("TestZone");
300 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid);
359 if (z->getID(str) != tzid ||
    [all...]
dtfmttst.cpp 3198 UnicodeString tzid; local
    [all...]
  /external/icu4c/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/calendarcommon/
RecurrenceSet.java 186 dtstartProperty.getFirstParameter("TZID");
188 String tzid = tzidParam == null ? null : tzidParam.value; local
189 Time start = new Time(tzidParam == null ? Time.TIMEZONE_UTC : tzid);
196 tzid = Time.TIMEZONE_UTC;
233 values.put(CalendarContract.Events.EVENT_TIMEZONE, tzid);
263 String tzid = cursor.getString(tzidColumn); local
280 if (!TextUtils.isEmpty(tzid)) {
282 dtstartProp.addParameter(new ICalendar.Parameter("TZID", tzid));
284 dtstartTime = new Time(tzid);
321 final String tzid = values.getAsString(CalendarContract.Events.EVENT_TIMEZONE); local
    [all...]
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon/
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/icu4c/common/
putil.c 969 const char *tzid = NULL; local
971 tzid = uprv_detectWindowsTimeZone();
973 if (tzid != NULL) {
974 return tzid;
981 tzid = getenv("TZFILE");
982 if (tzid != NULL) {
983 return tzid;
989 tzid = getenv("TZ");
990 if (tzid != NULL && isValidOlsonID(tzid))
    [all...]
  /external/icu4c/tools/tzcode/
icuzdump.cpp 199 void dumpZone(ostream& out, const char* linesep, UnicodeString tzid, int32_t low, int32_t high) {
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 

Completed in 282 milliseconds