Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateTimeGeneratorTest.java161 assertEquals("simple format: MMMddHmm", "14. Okt., 08:58", format.format(sampleDate)); in TestSimple()
169 … assertEquals("modified format: MMMdHmm", "14. von Oktober, 08:58", format.format(sampleDate)); in TestSimple()
175 …rstag, 14. Oktober 1999 um 08:58:59 Mitteleurop\u00E4ische Sommerzeit", format.format(sampleDate)); in TestSimple()
180 …"Donnerstag, 14. Oktober 1999 um 08:58:59 Mitteleurop\u00E4ische Zeit", format.format(sampleDate)); in TestSimple()
216 String formattedDate = enFormat.format(sampleDate); in TestSimple()
217 …assertEquals("Testing skeleton '" + testSkeleton + "' with " + sampleDate, tests[i][1], formatted… in TestSimple()
227 assertEquals("root format: yMdHms", "1999-10-14 06:58:59", rootFormat.format(sampleDate)); in TestRoot()
790 private Date sampleDate = sampleCalendar.getTime(); field in DateTimeGeneratorTest
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java158 assertEquals("simple format: MMMddHmm", "14. Okt., 08:58", format.format(sampleDate)); in TestSimple()
166 … assertEquals("modified format: MMMdHmm", "14. von Oktober, 08:58", format.format(sampleDate)); in TestSimple()
172 …rstag, 14. Oktober 1999 um 08:58:59 Mitteleurop\u00E4ische Sommerzeit", format.format(sampleDate)); in TestSimple()
177 …"Donnerstag, 14. Oktober 1999 um 08:58:59 Mitteleurop\u00E4ische Zeit", format.format(sampleDate)); in TestSimple()
213 String formattedDate = enFormat.format(sampleDate); in TestSimple()
214 …assertEquals("Testing skeleton '" + testSkeleton + "' with " + sampleDate, tests[i][1], formatted… in TestSimple()
224 assertEquals("root format: yMdHms", "1999-10-14 06:58:59", rootFormat.format(sampleDate)); in TestRoot()
787 private Date sampleDate = sampleCalendar.getTime(); field in DateTimeGeneratorTest
/third_party/icu/icu4c/source/test/intltest/
Ddtptngts.cpp492 UDate sampleDate=LocaleTest::date(99, 9, 13, 23, 58, 59); in testAPI() local
515 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
531 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
545 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
556 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
/third_party/icu/icu4c/source/test/cintltst/
Dudatpg_test.c262 UDate sampleDate = 837039928046.0; in TestBuilder() local
375 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity, in TestBuilder()