Home
last modified time | relevance | path

Searched refs:aDate (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DDateFormatTest.java25 private Date aDate; field in DateFormatTest
53 aDate = gcal.getTime(); in setUp()
95 assertEqualDateString(aDF.format(aDate, aBuf, anFP)); in testFormatObjectStringBufferFieldPosition()
113 assertEqualDateString(aDF.format(aDate, aBuf, anFPField)); in testFormatDateStringBufferFieldPosition()
122 assertEqualDateString(aDF.format(aDate)); in testFormatDate()
129 assertEquals(aDate, aDF.parse(aDateTimeString)); in testParseString()
137 assertEquals(aDate, aCal.getTime()); in testParseStringCalendarParsePosition()
144 assertEquals(aDate, aDF.parse(aDateTimeString, new ParsePosition(0))); in testParseStringParsePosition()
151 assertEquals(aDate, aDF.parseObject(aDateTimeString, new ParsePosition(0))); in testParseObjectStringParsePosition()
158 assertEquals(aTimeString, DateFormat.getTimeInstance().format(aDate)); in testGetTimeInstance()
[all …]
/external/icu/icu4c/source/test/intltest/
Dincaltst.cpp414 UDate aDate = 999932400000.0; in TestBuddhistFormat() local
423 fmt2->format(aDate, str); in TestBuddhistFormat()
426 fmt->format(aDate, str); in TestBuddhistFormat()
433 if(otherDate != aDate) { in TestBuddhistFormat()
436 …errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate +… in TestBuddhistFormat()
500 UDate aDate = 999932400000.0; in TestJapaneseFormat() local
508 fmt2->format(aDate, str); in TestJapaneseFormat()
511 fmt->format(aDate, str); in TestJapaneseFormat()
518 if(otherDate != aDate) { in TestJapaneseFormat()
523 …errln("Parse incorrect of " + expected + " - wanted " + aDate + " but got " + " = " + otherDate… in TestJapaneseFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DJapaneseTest.java157 …Date aDate = format.parse("1.1.9", pos); // after the start of heisei accession. Jan 1, 1H wouldn… in Test3860() local
158 String inEn = enjformat.format(aDate); in Test3860()
161 cal.setTime(aDate); in Test3860()
184 aDate = fmt.parse(samplestr); in Test3860()
191 String str = fmt2.format(aDate); in Test3860()
194 cal2.setTime(aDate); in Test3860()
220 Date aDate = new Date(aDateLong); in Test5345parse() local
221 logln("aDate: " + aDate.toString() +", from " + aDateLong); in Test5345parse()
223 str = fmt2.format(aDate); in Test5345parse()
225 str = fmt.format(aDate); in Test5345parse()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DJapaneseTest.java153 …Date aDate = format.parse("1.1.9", pos); // after the start of heisei accession. Jan 1, 1H wouldn… in Test3860() local
154 String inEn = enjformat.format(aDate); in Test3860()
157 cal.setTime(aDate); in Test3860()
180 aDate = fmt.parse(samplestr); in Test3860()
187 String str = fmt2.format(aDate); in Test3860()
190 cal2.setTime(aDate); in Test3860()
216 Date aDate = new Date(aDateLong); in Test5345parse() local
217 logln("aDate: " + aDate.toString() +", from " + aDateLong); in Test5345parse()
219 str = fmt2.format(aDate); in Test5345parse()
221 str = fmt.format(aDate); in Test5345parse()
[all …]
/external/icu/icu4c/source/i18n/
Dastro.h351 void setDate(UDate aDate) { setTime(aDate); } in setDate() argument
Dumsg.cpp531 UDate *aDate; in umsg_vparse() local
543 aDate = va_arg(ap, UDate*); in umsg_vparse()
544 if(aDate){ in umsg_vparse()
545 *aDate = args[i].getDate(); in umsg_vparse()
/external/pdfium/xfa/src/fgas/include/
Dfx_datetime.h188 FX_DATE aDate; member
/external/icu/icu4c/source/test/cintltst/
Dcdattst.c1319 static const UDate aDate = -631152000000.0; in TestRelativeCrash() local
1332 udat_set2DigitYearStart(icudf, aDate, &subStatus); in TestRelativeCrash()