Home
last modified time | relevance | path

Searched refs:createTimeZone (Results 1 – 25 of 39) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Dtzbdtest.cpp278 TimeZone* pst = TimeZone::createTimeZone("PST"); in TestBoundaries()
291 TimeZone* utc = TimeZone::createTimeZone("UTC"); in TestBoundaries()
325 TimeZone *z = TimeZone::createTimeZone("PST"); in TestBoundaries()
338 TimeZone::setDefault(*(tz = TimeZone::createTimeZone("PST"))); in TestBoundaries()
350 TimeZone* z = TimeZone::createTimeZone("Australia/Adelaide"); in TestBoundaries()
504 TimeZone *zone = TimeZone::createTimeZone("America/New_York"); in TestStepwise()
507 zone = TimeZone::createTimeZone("UTC"); // updated 12/3/99 aliu in TestStepwise()
510 zone = TimeZone::createTimeZone("Australia/Adelaide"); in TestStepwise()
Dtztest.cpp311 TimeZone* tz = TimeZone::createTimeZone("PRT"); in TestPRTOffset()
338 TimeZone* time_zone = TimeZone::createTimeZone("PST"); in TestVariousAPI518()
459 TimeZone *z = TimeZone::createTimeZone(*id); in TestGetAvailableIDs913()
501 TimeZone *tz = TimeZone::createTimeZone("PST"); in TestGetAvailableIDs913()
505 tz = TimeZone::createTimeZone("America/Los_Angeles"); in TestGetAvailableIDs913()
511 tz = TimeZone::createTimeZone("NON_EXISTENT"); in TestGetAvailableIDs913()
695 TimeZone *tz = TimeZone::createTimeZone(*id1); in TestGetAvailableIDsNew()
903 TimeZone *tz = TimeZone::createTimeZone(itsID); in TestShortZoneIDs()
995 TimeZone *tz1 = TimeZone::createTimeZone(zone1); in TestShortZoneIDs()
996 TimeZone *tz2 = TimeZone::createTimeZone(zone2); in TestShortZoneIDs()
[all …]
Dcalregts.cpp260 TimeZone* tz =TimeZone::createTimeZone("Asia/Riyadh87"); in test4031502()
275 TimeZone *zone = TimeZone::createTimeZone(*ids->snext(status)); in test4031502()
487 Calendar *cal = Calendar::createInstance(TimeZone::createTimeZone("GMT"), in test4061476()
706 TimeZone *newZone = TimeZone::createTimeZone("UTC"); in test4083167()
756 TimeZone *newZone = TimeZone::createTimeZone("GMT"); in test4086724()
859 TimeZone *GMT = TimeZone::createTimeZone("GMT"); in test4096231()
860 TimeZone *PST = TimeZone::createTimeZone("PST"); in test4096231()
1320 cal->adoptTimeZone(TimeZone::createTimeZone("PST")); in test4114578()
1579 calendar->adoptTimeZone(TimeZone::createTimeZone("GMT")); in test4145158()
1617 calendar->adoptTimeZone(TimeZone::createTimeZone("GMT")); in test4145983()
[all …]
Dtzregts.cpp79 TimeZone *z1 = TimeZone::createTimeZone("PST"); in Test4073209()
80 TimeZone *z2 = TimeZone::createTimeZone("PST"); in Test4073209()
209 TimeZone *tz = TimeZone::createTimeZone("PST"); in Test4084933()
318 TimeZone *PST = TimeZone::createTimeZone("PST"); in Test4109314()
460 TimeZone *tz = TimeZone::createTimeZone("PST"); in Test4126678()
1037 TimeZone *zoneWith = TimeZone::createTimeZone(idWithLocaleData); in TestJ449()
1038 TimeZone *zoneWithout = TimeZone::createTimeZone(idWithoutLocaleData); in TestJ449()
Dtzfmttst.cpp101 … Calendar *cal = Calendar::createInstance(TimeZone::createTimeZone((UnicodeString)"UTC"), status); in TestTimeZoneRoundTrip()
177 TimeZone *tz = TimeZone::createTimeZone(*tzid); in TestTimeZoneRoundTrip()
500 BasicTimeZone *tz = (BasicTimeZone*) TimeZone::createTimeZone(*tzid); in run()
616 … Calendar *cal = Calendar::createInstance(TimeZone::createTimeZone((UnicodeString) "UTC"), status); in TestTimeRoundTrip()
1111 LocalPointer<TimeZone> tz(TimeZone::createTimeZone(DATA[i].tzid)); in TestFormat()
1208 LocalPointer<TimeZone> tz(TimeZone::createTimeZone(DATA[i].tzid)); in TestFormatTZDBNames()
Dtzrulets.cpp432 BasicTimeZone *ny = (BasicTimeZone*)TimeZone::createTimeZone("America/New_York"); in TestHistoricalRuleBasedTimeZone()
621 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestOlsonTransition()
656 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestRBTZTransition()
705 BasicTimeZone *newyork = (BasicTimeZone*)TimeZone::createTimeZone("America/New_York"); in TestHasEquivalentTransitions()
706 …BasicTimeZone *indianapolis = (BasicTimeZone*)TimeZone::createTimeZone("America/Indiana/Indianapol… in TestHasEquivalentTransitions()
707 BasicTimeZone *gmt_5 = (BasicTimeZone*)TimeZone::createTimeZone("Etc/GMT+5"); in TestHasEquivalentTransitions()
758 BasicTimeZone *losangeles = (BasicTimeZone*)TimeZone::createTimeZone("America/Los_Angeles"); in TestHasEquivalentTransitions()
793 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestVTimeZoneRoundTrip()
893 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestVTimeZoneRoundTripPartial()
1129 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestGetSimpleRules()
[all …]
Dtzoffloc.cpp121 TimeZone* utc = TimeZone::createTimeZone("UTC"); in TestGetOffsetAroundTransition()
132 TESTZONES[0] = (BasicTimeZone*)TimeZone::createTimeZone("America/Los_Angeles"); in TestGetOffsetAroundTransition()
Ddtfmttst.cpp274 TimeZone *ttz = TimeZone::createTimeZone(*id); in TestWallyWedel()
357 TimeZone* test = TimeZone::createTimeZone("PDT"); in TestEquals()
375 TimeZone* PST = TimeZone::createTimeZone("PST"); in TestTwoDigitYearDSTParse()
580 TimeZone* PT = TimeZone::createTimeZone("America/Los_Angeles"); in TestFieldPosition()
1211 formatter->adoptTimeZone(TimeZone::createTimeZone("GMT")); in TestDateFormatZone061()
1237 TimeZone *thedefault = TimeZone::createTimeZone("GMT"); in TestDateFormatZone146()
1350 const LocalPointer<const TimeZone> tz(TimeZone::createTimeZone("CET")); in TestFormattingLocaleTimeSeparator()
3406 TimeZone *tz = TimeZone::createTimeZone(info[1]); in TestTimeZoneDisplayName()
3431 TimeZone *tz = TimeZone::createTimeZone("Europe/Paris"); in TestRoundtripWithCalendar()
3432 TimeZone *gmt = TimeZone::createTimeZone("Etc/GMT"); in TestRoundtripWithCalendar()
[all …]
Ditformat.cpp91 TimeZone *tz = TimeZone::createTimeZone("America/Los_Angeles"); in runIndexedTest()
Ddtptngts.cpp425 TimeZone *zone = TimeZone::createTimeZone(UnicodeString("ECT")); in testAPI()
670 TimeZone *enZone = TimeZone::createTimeZone(UnicodeString("ECT/GMT")); in testAPI()
800 zone = TimeZone::createTimeZone(UnicodeString("GMT")); in testAPI()
/external/icu/icu4c/source/samples/datefmt/answers/
Dmain_0.cpp23 TimeZone* zone = TimeZone::createTimeZone(id); in createZone()
Dmain_1.cpp22 TimeZone* zone = TimeZone::createTimeZone(id); in createZone()
Dmain_2.cpp22 TimeZone* zone = TimeZone::createTimeZone(id); in createZone()
Dmain_3.cpp22 TimeZone* zone = TimeZone::createTimeZone(id); in createZone()
/external/icu/icu4c/source/samples/datefmt/
Dmain.cpp22 TimeZone* zone = TimeZone::createTimeZone(id); in createZone()
/external/icu/icu4c/source/i18n/
Dudateintervalformat.cpp47 …TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLengt… in udtitvfmt_open()
Dwintzimpl.cpp119 TimeZone *tz = TimeZone::createTimeZone(id); in getWindowsTimeZoneInfo()
Dtzfmt.cpp966 return TimeZone::createTimeZone(tzID); in parse()
999 return TimeZone::createTimeZone(tzID); in parse()
1045 return TimeZone::createTimeZone(tzID); in parse()
1058 return TimeZone::createTimeZone(tzID); in parse()
1070 return TimeZone::createTimeZone(tzID); in parse()
1082 return TimeZone::createTimeZone(tzID); in parse()
1299 parsedTZ = TimeZone::createTimeZone(parsedID); in parse()
2659 return TimeZone::createTimeZone(UnicodeString(TRUE, TZID_GMT, -1)); in createTimeZoneForOffset()
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp241 tz = TimeZone::createTimeZone(*zid); in next()
247 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]); in next()
/external/icu/icu4c/source/test/perf/DateFmtPerf/
DDateFmtPerf.h171 zone = TimeZone::createTimeZone("GMT"); // Create a GMT zone in call()
343 zone = TimeZone::createTimeZone("GMT"); // Create a GMT zone in call()
395 TimeZone* tz(TimeZone::createTimeZone(tzname)); in call()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h163 TimeZone *tz = TimeZone::createTimeZone(*tzid); in call()
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp128 TimeZone *zone = TimeZone::createTimeZone(UnicodeString("Europe/Paris")); in replaceFieldTypesExample()
/external/icu/icu4c/source/i18n/unicode/
Dtimezone.h175 static TimeZone* U_EXPORT2 createTimeZone(const UnicodeString& ID);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DJavaTimeZone.java82 public static JavaTimeZone createTimeZone(String id) { in createTimeZone() method in JavaTimeZone
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DJavaTimeZone.java84 public static JavaTimeZone createTimeZone(String id) { in createTimeZone() method in JavaTimeZone

12