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.h180 Calendar *outcal = Calendar::createInstance(unknownZone, *status); in call() local
186 outcal->set(UCAL_DST_OFFSET, badDstOffset); in call()
187 outcal->set(UCAL_ZONE_OFFSET, badZoneOffset); in call()
188 sdf->parse(tzstr, *outcal, pos); in call()
191 delete outcal; in call() local
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp193 Calendar *outcal = Calendar::createInstance(unknownZone, status); in TestTimeZoneRoundTrip() local
199 outcal->set(UCAL_DST_OFFSET, badDstOffset); in TestTimeZoneRoundTrip()
200 outcal->set(UCAL_ZONE_OFFSET, badZoneOffset); in TestTimeZoneRoundTrip()
202 sdf->parse(tzstr, *outcal, pos); in TestTimeZoneRoundTrip()
205 const TimeZone &outtz = outcal->getTimeZone(); in TestTimeZoneRoundTrip()
327 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.java163 Calendar outcal = Calendar.getInstance(unknownZone); in TestTimeZoneRoundTrip() local
164 outcal.set(Calendar.DST_OFFSET, badDstOffset); in TestTimeZoneRoundTrip()
165 outcal.set(Calendar.ZONE_OFFSET, badZoneOffset); in TestTimeZoneRoundTrip()
167 sdf.parse(tzstr, outcal, pos); in TestTimeZoneRoundTrip()
170 TimeZone outtz = outcal.getTimeZone(); in TestTimeZoneRoundTrip()
831 Calendar outcal = Calendar.getInstance(bogusTZ); in TestISOFormat() local
834 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
841 TimeZone outtz = outcal.getTimeZone(); in TestISOFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java167 Calendar outcal = Calendar.getInstance(unknownZone); in TestTimeZoneRoundTrip() local
168 outcal.set(Calendar.DST_OFFSET, badDstOffset); in TestTimeZoneRoundTrip()
169 outcal.set(Calendar.ZONE_OFFSET, badZoneOffset); in TestTimeZoneRoundTrip()
171 sdf.parse(tzstr, outcal, pos); in TestTimeZoneRoundTrip()
174 TimeZone outtz = outcal.getTimeZone(); in TestTimeZoneRoundTrip()
835 Calendar outcal = Calendar.getInstance(bogusTZ); in TestISOFormat() local
838 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
845 TimeZone outtz = outcal.getTimeZone(); in TestISOFormat()