Home
last modified time | relevance | path

Searched refs:outcal (Results 1 – 4 of 4) sorted by relevance

/third_party/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h183 Calendar *outcal = Calendar::createInstance(unknownZone, *status); in call() local
189 outcal->set(UCAL_DST_OFFSET, badDstOffset); in call()
190 outcal->set(UCAL_ZONE_OFFSET, badZoneOffset); in call()
191 sdf->parse(tzstr, *outcal, pos); in call()
194 delete outcal; in call() local
/third_party/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp208 Calendar *outcal = Calendar::createInstance(unknownZone, status); in TestTimeZoneRoundTrip() local
214 outcal->set(UCAL_DST_OFFSET, badDstOffset); in TestTimeZoneRoundTrip()
215 outcal->set(UCAL_ZONE_OFFSET, badZoneOffset); in TestTimeZoneRoundTrip()
217 sdf->parse(tzstr, *outcal, pos); in TestTimeZoneRoundTrip()
220 const TimeZone &outtz = outcal->getTimeZone(); in TestTimeZoneRoundTrip()
345 delete outcal; in TestTimeZoneRoundTrip()
1039 LocalPointer<Calendar> outcal(Calendar::createInstance(status)); in TestISOFormat() local
1051 outcal->adoptTimeZone(bogusTZ); in TestISOFormat()
1054 sdf->parse(UnicodeString(ISO_STR[i][j]), *(outcal.getAlias()), pos); in TestISOFormat()
1060 const TimeZone& outtz = outcal->getTimeZone(); in TestISOFormat()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTimeZoneFormatTest.java175 Calendar outcal = Calendar.getInstance(unknownZone); in TestTimeZoneRoundTrip() local
176 outcal.set(Calendar.DST_OFFSET, badDstOffset); in TestTimeZoneRoundTrip()
177 outcal.set(Calendar.ZONE_OFFSET, badZoneOffset); in TestTimeZoneRoundTrip()
179 sdf.parse(tzstr, outcal, pos); in TestTimeZoneRoundTrip()
182 TimeZone outtz = outcal.getTimeZone(); in TestTimeZoneRoundTrip()
860 Calendar outcal = Calendar.getInstance(bogusTZ); in TestISOFormat() local
863 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
870 TimeZone outtz = outcal.getTimeZone(); in TestISOFormat()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java172 Calendar outcal = Calendar.getInstance(unknownZone); in TestTimeZoneRoundTrip() local
173 outcal.set(Calendar.DST_OFFSET, badDstOffset); in TestTimeZoneRoundTrip()
174 outcal.set(Calendar.ZONE_OFFSET, badZoneOffset); in TestTimeZoneRoundTrip()
176 sdf.parse(tzstr, outcal, pos); in TestTimeZoneRoundTrip()
179 TimeZone outtz = outcal.getTimeZone(); in TestTimeZoneRoundTrip()
857 Calendar outcal = Calendar.getInstance(bogusTZ); in TestISOFormat() local
860 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
867 TimeZone outtz = outcal.getTimeZone(); in TestISOFormat()