Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/intltest/
Dtsdate.cpp123 tryDate(0); in testFormat()
124 tryDate(1278161801778.0); in testFormat()
125 tryDate(5264498352317.0); // Sunday, October 28, 2136 8:39:12 AM PST in testFormat()
126 tryDate(9516987689250.0); // In the year 2271 in testFormat()
127 tryDate(now); in testFormat()
130 tryDate(now + 6.0*30*ONEDAY); in testFormat()
134 tryDate(uprv_floor(randDouble() * limit)); in testFormat()
148 void IntlTestDateFormat::tryDate(UDate theDate) in tryDate() function in IntlTestDateFormat
Dtsdate.h44 void tryDate(UDate date);
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDateFormat.java130 tryDate(new Date(0)); in testDates()
131 tryDate(new Date((long) 1278161801778.0)); in testDates()
132 tryDate(now); in testDates()
135 tryDate(new Date(now.getTime() + 6*30*ONEDAY)); in testDates()
140 tryDate(new Date((long) (randDouble() * limit.getTime()))); in testDates()
154 private void tryDate(Date theDate) { in tryDate() method in IntlTestDateFormat
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormat.java127 tryDate(new Date(0)); in testDates()
128 tryDate(new Date((long) 1278161801778.0)); in testDates()
129 tryDate(now); in testDates()
132 tryDate(new Date(now.getTime() + 6*30*ONEDAY)); in testDates()
137 tryDate(new Date((long) (randDouble() * limit.getTime()))); in testDates()
151 private void tryDate(Date theDate) { in tryDate() method in IntlTestDateFormat