Home
last modified time | relevance | path

Searched refs:enFormat (Results 1 – 3 of 3) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Ddtptngts.cpp751 …SimpleDateFormat *enFormat = (SimpleDateFormat *)DateFormat::createDateTimeInstance(DateFormat::kF… in testAPI() local
753 enFormat->setTimeZone(*enZone); in testAPI()
758 enFormat->applyPattern(bestPattern); in testAPI()
760 resultDate = enFormat->format(testDate, resultDate); in testAPI()
771 delete enFormat; in testAPI()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateTimeGeneratorTest.java188 …SimpleDateFormat enFormat = (SimpleDateFormat)DateFormat.getDateTimeInstance(DateFormat.FULL, Date… in TestSimple() local
189 enFormat.setTimeZone(enZone); in TestSimple()
215 enFormat.applyPattern(pat); in TestSimple()
216 String formattedDate = enFormat.format(sampleDate); in TestSimple()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java185 …SimpleDateFormat enFormat = (SimpleDateFormat)DateFormat.getDateTimeInstance(DateFormat.FULL, Date… in TestSimple() local
186 enFormat.setTimeZone(enZone); in TestSimple()
212 enFormat.applyPattern(pat); in TestSimple()
213 String formattedDate = enFormat.format(sampleDate); in TestSimple()