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

1 2

  /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;
303 UnicodeString& getString(const UnicodeString &tzid, TimeZoneTranslationTypeIndex typeIdx, UDate date
    [all...]
zonemeta.cpp 187 ZoneMeta::getCanonicalSystemID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status) {
189 const UChar *canonical = TimeZone::dereferOlsonLink(tzid);
228 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &canonicalCountry) {
229 const UChar *region = TimeZone::getRegion(tzid);
239 ZoneMeta::getSingleCountry(const UnicodeString &tzid, UnicodeString &country) {
241 const UChar *region = TimeZone::getRegion(tzid);
358 ZoneMeta::getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) {
360 const UVector *mappings = getMetazoneMappings(tzid);
378 ZoneMeta::getMetazoneMappings(const UnicodeString &tzid) {
381 tzid.extract(tzidUChars, ZID_KEY_MAX, status)
560 const UChar *tzid = NULL; local
    [all...]
zstrfmt.cpp 655 // because generic location format is generated from tzid for the case.
684 const char *tzid; local
685 while ((tzid = tzids->next(NULL, status))) {
690 UnicodeString utzid(tzid, -1, US_INV);
702 uprv_strcpy(zidkey, tzid);
773 if (uprv_strlen(tzid) > 4 && uprv_strncmp(tzid, "Etc/", 4) == 0) {
1085 const UChar *tzid; local
1140 UnicodeString tzid; local
1157 UnicodeString tzid; local
1182 UnicodeString tzid; local
1295 UnicodeString tzid; local
    [all...]
vtzone.cpp 45 static const UChar ICAL_TZID[] = {0x54, 0x5A, 0x49, 0x44, 0}; /* "TZID" */
355 * Create a default TZNAME from TZID
357 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) {
358 zonename = tzid;
1320 UnicodeString tzid; local
1740 UnicodeString tzid; local
1804 UnicodeString tzid; local
2036 UnicodeString tzid; local
2137 UnicodeString tzid; local
    [all...]
simpletz.cpp 1070 UnicodeString tzid; local
    [all...]
olsontz.cpp 681 UnicodeString tzid; local
682 getID(tzid);
684 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)");
685 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)");
819 finalZone->getID(tzid);
820 firstFinalRule = new TimeArrayTimeZoneRule(tzid,
    [all...]
  /external/chromium/third_party/icu/source/i18n/
zonemeta.h 40 * Return the canonical id for this system tzid, which might be the id itself.
41 * If the given system tzid is not know, U_ILLEGAL_ARGUMENT_ERROR is set in the status.
43 static UnicodeString& U_EXPORT2 getCanonicalSystemID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status);
46 * Return the canonical country code for this tzid. If we have none, or if the time zone
49 static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &canonicalCountry);
57 static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country);
60 * Returns a CLDR metazone ID for the given Olson tzid and time.
62 static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result);
68 static const UVector* U_EXPORT2 getMetazoneMappings(const UnicodeString &tzid);
72 static const CanonicalMapEntry* U_EXPORT2 getCanonicalInfo(const UnicodeString &tzid);
    [all...]
zstrfmt.h 225 inline UnicodeString& getLongStandard(const UnicodeString &tzid, UDate date,
227 inline UnicodeString& getLongDaylight(const UnicodeString &tzid, UDate date,
229 inline UnicodeString& getLongGenericNonLocation(const UnicodeString &tzid, UDate date,
231 inline UnicodeString& getLongGenericPartialLocation(const UnicodeString &tzid, UDate date,
233 inline UnicodeString& getShortStandard(const UnicodeString &tzid, UDate date, UBool commonlyUsedOnly,
235 inline UnicodeString& getShortDaylight(const UnicodeString &tzid, UDate date, UBool commonlyUsedOnly,
237 inline UnicodeString& getShortGenericNonLocation(const UnicodeString &tzid, UDate date, UBool commonlyUsedOnly,
239 inline UnicodeString& getShortGenericPartialLocation(const UnicodeString &tzid, UDate date, UBool commonlyUsedOnly,
241 inline UnicodeString& getGenericLocation(const UnicodeString &tzid, UnicodeString &result) const;
252 UnicodeString& getString(const UnicodeString &tzid, TimeZoneTranslationTypeIndex typeIdx, UDate date
    [all...]
zonemeta.cpp 508 * Creating Olson tzid to metazone mappings from resource (3.8.1 and beyond)
538 const UnicodeString *tzid; local
539 while ((tzid = tzids->snext(status))) {
546 tzid->extract(0, tzid->length(), zidkey, sizeof(zidkey), US_INV);
624 int32_t tzidLen = tzid->length() + 1; // Add one for NUL terminator
631 tzid->extract(key, tzidLen, status);
697 const UChar *tzid = ures_getStringByIndex(mz, 0, &tzidLen, &status); local
705 entry->id = tzid;
846 ZoneMeta::getCanonicalSystemID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status)
    [all...]
zstrfmt.cpp 548 // because generic location format is generated from tzid for the case.
580 const char *tzid; local
581 while ((tzid = tzids->next(NULL, status))) {
586 UnicodeString utzid(tzid, -1, US_INV);
598 uprv_strcpy(zidkey, tzid);
674 if (uprv_strlen(tzid) > 4 && uprv_strncmp(tzid, "Etc/", 4) == 0) {
970 const UChar *tzid; local
1025 UnicodeString tzid; local
1042 UnicodeString tzid; local
1067 UnicodeString tzid; local
1180 UnicodeString tzid; local
    [all...]
vtzone.cpp 45 static const UChar ICAL_TZID[] = {0x54, 0x5A, 0x49, 0x44, 0}; /* "TZID" */
355 * Create a default TZNAME from TZID
357 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) {
358 zonename = tzid;
1320 UnicodeString tzid; local
1740 UnicodeString tzid; local
1804 UnicodeString tzid; local
2036 UnicodeString tzid; local
2137 UnicodeString tzid; local
    [all...]
simpletz.cpp 1070 UnicodeString tzid; local
    [all...]
olsontz.cpp 633 UnicodeString tzid; local
634 getID(tzid);
636 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)");
637 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)");
783 finalZone->getID(tzid);
784 firstFinalRule = new TimeArrayTimeZoneRule(tzid,
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
tzfmttst.cpp 125 const UnicodeString *tzid; local
126 while ((tzid = tzids->snext(status))) {
127 TimeZone *tz = TimeZone::createTimeZone(*tzid);
161 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid);
175 TimeZone::getCanonicalID(*tzid, canonical, status);
178 errln((UnicodeString)"Unknown ID " + *tzid);
185 logln("Canonical round trip failed (as expected); tz=" + *tzid
190 errln("Canonical round trip failed; tz=" + *tzid
215 errln((UnicodeString)"Offset round trip failed; tz=" + *tzid
223 errln((UnicodeString)"Raw offset round trip failed; tz=" + *tzid
347 const UnicodeString *tzid; local
    [all...]
tzrulets.cpp 598 const UnicodeString *tzid = tzenum.snext(status); local
599 if (tzid == NULL) {
606 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
633 const UnicodeString *tzid = tzenum.snext(status); local
634 if (tzid == NULL) {
641 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
648 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid);
650 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone());
652 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid);
657 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid);
770 const UnicodeString *tzid = tzenum.snext(status); local
869 const UnicodeString *tzid = tzenum.snext(status); local
963 const UnicodeString *tzid = tzenum.snext(status); local
1103 const UnicodeString *tzid = tzenum.snext(status); local
1806 UnicodeString tzid; local
2155 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
329 const UnicodeString *tzid; local
    [all...]
tzrulets.cpp 609 const UnicodeString *tzid = tzenum.snext(status); local
610 if (tzid == NULL) {
617 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
644 const UnicodeString *tzid = tzenum.snext(status); local
645 if (tzid == NULL) {
652 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
659 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid);
661 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone());
663 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid);
668 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid);
781 const UnicodeString *tzid = tzenum.snext(status); local
880 const UnicodeString *tzid = tzenum.snext(status); local
974 const UnicodeString *tzid = tzenum.snext(status); local
1114 const UnicodeString *tzid = tzenum.snext(status); local
1817 UnicodeString tzid; local
2284 UnicodeString tzid; local
    [all...]
  /frameworks/base/core/java/android/pim/
RecurrenceSet.java 177 dtstartProperty.getFirstParameter("TZID");
179 String tzid = tzidParam == null ? null : tzidParam.value; local
180 Time start = new Time(tzidParam == null ? Time.TIMEZONE_UTC : tzid);
187 tzid = Time.TIMEZONE_UTC;
209 // TODO: also change tzid to be UTC? that would be consistent, but
227 values.put(Calendar.Events.EVENT_TIMEZONE, tzid);
252 String tzid = cursor.getString(tzidColumn); local
269 if (!TextUtils.isEmpty(tzid)) {
271 dtstartProp.addParameter(new ICalendar.Parameter("TZID", tzid));
310 String tzid = values.getAsString(Calendar.Events.EVENT_TIMEZONE); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/pim/
RecurrenceSetTest.java 35 String recurrence = "DTSTART;TZID=America/New_York:20080221T070000\n"
36 + "DTEND;TZID=America/New_York:20080221T190000\n"
63 String exrule, String exdate, long dtstart, String tzid, String duration, int allDay)
77 assertEquals(tzid, values.get(android.provider.Calendar.Events.EVENT_TIMEZONE));
  /external/chromium/third_party/icu/source/common/
putil.c 889 const char *tzid = NULL; local
891 tzid = uprv_detectWindowsTimeZone();
893 if (tzid != NULL) {
894 return tzid;
901 tzid = getenv("TZFILE");
902 if (tzid != NULL) {
903 return tzid;
909 tzid = getenv("TZ");
910 if (tzid != NULL && isValidOlsonID(tzid))
    [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 914 const char *tzid = NULL; local
916 tzid = uprv_detectWindowsTimeZone();
918 if (tzid != NULL) {
919 return tzid;
926 tzid = getenv("TZFILE");
927 if (tzid != NULL) {
928 return tzid;
934 tzid = getenv("TZ");
935 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/chromium/third_party/icu/source/tools/tzcode/
icuzdump.cpp 199 void dumpZone(ostream& out, const char* linesep, UnicodeString tzid, int32_t low, int32_t high) {

Completed in 337 milliseconds

1 2