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

  /external/icu4c/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;
1353 UnicodeString tzid; local
1774 UnicodeString tzid; local
1838 UnicodeString tzid; local
2071 UnicodeString tzid; local
2172 UnicodeString tzid; local
    [all...]
simpletz.cpp 1072 UnicodeString tzid; local
    [all...]
olsontz.cpp 683 UnicodeString tzid; local
684 getID(tzid);
686 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)");
687 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)");
821 finalZone->getID(tzid);
822 firstFinalRule = new TimeArrayTimeZoneRule(tzid,
    [all...]
smpdtfmt.cpp 2859 UnicodeString tzid; local
    [all...]
  /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
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...]
tztest.cpp     [all...]
caltest.cpp 282 UnicodeString tzid("TestZone");
285 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid);
344 if (z->getID(str) != tzid ||
    [all...]
dtfmttst.cpp 3072 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 185 dtstartProperty.getFirstParameter("TZID");
187 String tzid = tzidParam == null ? null : tzidParam.value; local
188 Time start = new Time(tzidParam == null ? Time.TIMEZONE_UTC : tzid);
195 tzid = Time.TIMEZONE_UTC;
232 values.put(CalendarContract.Events.EVENT_TIMEZONE, tzid);
257 String tzid = cursor.getString(tzidColumn); local
274 if (!TextUtils.isEmpty(tzid)) {
276 dtstartProp.addParameter(new ICalendar.Parameter("TZID", tzid));
278 dtstartTime = new Time(tzid);
315 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"
97 String recurrence2 = "DTSTART;TZID=America/New_York:20090821T100000\n"
98 + "DTEND;TZID=America/Los_Angeles:20090821T080000\n"
102 // 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 964 const char *tzid = NULL; local
966 tzid = uprv_detectWindowsTimeZone();
968 if (tzid != NULL) {
969 return tzid;
976 tzid = getenv("TZFILE");
977 if (tzid != NULL) {
978 return tzid;
984 tzid = getenv("TZ");
985 if (tzid != NULL && isValidOlsonID(tzid))
    [all...]
  /development/samples/GlobalTime/src/com/android/globaltime/
City.java 57 String tzid = dis.readUTF(); local
87 City city = new City(name, tzid, rawOffset,
  /external/icu4c/tools/tzcode/
icuzdump.cpp 199 void dumpZone(ostream& out, const char* linesep, UnicodeString tzid, int32_t low, int32_t high) {

Completed in 196 milliseconds