Home
last modified time | relevance | path

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

/external/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
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp198 Calendar *outcal = Calendar::createInstance(unknownZone, status); in TestTimeZoneRoundTrip() local
204 outcal->set(UCAL_DST_OFFSET, badDstOffset); in TestTimeZoneRoundTrip()
205 outcal->set(UCAL_ZONE_OFFSET, badZoneOffset); in TestTimeZoneRoundTrip()
207 sdf->parse(tzstr, *outcal, pos); in TestTimeZoneRoundTrip()
210 const TimeZone &outtz = outcal->getTimeZone(); in TestTimeZoneRoundTrip()
332 delete outcal; in TestTimeZoneRoundTrip()
978 LocalPointer<Calendar> outcal(Calendar::createInstance(status)); in TestISOFormat() local
990 outcal->adoptTimeZone(bogusTZ); in TestISOFormat()
993 sdf->parse(UnicodeString(ISO_STR[i][j]), *(outcal.getAlias()), pos); in TestISOFormat()
999 const TimeZone& outtz = outcal->getTimeZone(); in TestISOFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java168 Calendar outcal = Calendar.getInstance(unknownZone); in TestTimeZoneRoundTrip() local
169 outcal.set(Calendar.DST_OFFSET, badDstOffset); in TestTimeZoneRoundTrip()
170 outcal.set(Calendar.ZONE_OFFSET, badZoneOffset); in TestTimeZoneRoundTrip()
172 sdf.parse(tzstr, outcal, pos); in TestTimeZoneRoundTrip()
175 TimeZone outtz = outcal.getTimeZone(); in TestTimeZoneRoundTrip()
848 Calendar outcal = Calendar.getInstance(bogusTZ); in TestISOFormat() local
851 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
858 TimeZone outtz = outcal.getTimeZone(); in TestISOFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java169 Calendar outcal = Calendar.getInstance(unknownZone); in TestTimeZoneRoundTrip() local
170 outcal.set(Calendar.DST_OFFSET, badDstOffset); in TestTimeZoneRoundTrip()
171 outcal.set(Calendar.ZONE_OFFSET, badZoneOffset); in TestTimeZoneRoundTrip()
173 sdf.parse(tzstr, outcal, pos); in TestTimeZoneRoundTrip()
176 TimeZone outtz = outcal.getTimeZone(); in TestTimeZoneRoundTrip()
849 Calendar outcal = Calendar.getInstance(bogusTZ); in TestISOFormat() local
852 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
859 TimeZone outtz = outcal.getTimeZone(); in TestISOFormat()