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.cpp202 Calendar *outcal = Calendar::createInstance(unknownZone, status); in TestTimeZoneRoundTrip() local
208 outcal->set(UCAL_DST_OFFSET, badDstOffset); in TestTimeZoneRoundTrip()
209 outcal->set(UCAL_ZONE_OFFSET, badZoneOffset); in TestTimeZoneRoundTrip()
211 sdf->parse(tzstr, *outcal, pos); in TestTimeZoneRoundTrip()
214 const TimeZone &outtz = outcal->getTimeZone(); in TestTimeZoneRoundTrip()
339 delete outcal; in TestTimeZoneRoundTrip()
986 LocalPointer<Calendar> outcal(Calendar::createInstance(status)); in TestISOFormat() local
998 outcal->adoptTimeZone(bogusTZ); in TestISOFormat()
1001 sdf->parse(UnicodeString(ISO_STR[i][j]), *(outcal.getAlias()), pos); in TestISOFormat()
1007 const TimeZone& outtz = outcal->getTimeZone(); in TestISOFormat()
/external/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()
/external/icu/android_icu4j/src/main/tests/android/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()