Home
last modified time | relevance | path

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

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DDateFormatTest.java27 private Date aDate; field in DateFormatTest
55 aDate = gcal.getTime(); in setUp()
97 assertEqualDateString(aDF.format(aDate, aBuf, anFP)); in testFormatObjectStringBufferFieldPosition()
115 assertEqualDateString(aDF.format(aDate, aBuf, anFPField)); in testFormatDateStringBufferFieldPosition()
124 assertEqualDateString(aDF.format(aDate)); in testFormatDate()
131 assertEquals(aDate, aDF.parse(aDateTimeString)); in testParseString()
139 assertEquals(aDate, aCal.getTime()); in testParseStringCalendarParsePosition()
146 assertEquals(aDate, aDF.parse(aDateTimeString, new ParsePosition(0))); in testParseStringParsePosition()
153 assertEquals(aDate, aDF.parseObject(aDateTimeString, new ParsePosition(0))); in testParseObjectStringParsePosition()
160 assertEquals(aTimeString, DateFormat.getTimeInstance().format(aDate)); in testGetTimeInstance()
[all …]
/external/icu/icu4c/source/test/intltest/
Dincaltst.cpp417 UDate aDate = 999932400000.0; in TestBuddhistFormat() local
426 fmt2->format(aDate, str); in TestBuddhistFormat()
429 fmt->format(aDate, str); in TestBuddhistFormat()
436 if(otherDate != aDate) { in TestBuddhistFormat()
439 …errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate +… in TestBuddhistFormat()
503 UDate aDate = 999932400000.0; in TestJapaneseFormat() local
511 fmt2->format(aDate, str); in TestJapaneseFormat()
514 fmt->format(aDate, str); in TestJapaneseFormat()
521 if(otherDate != aDate) { in TestJapaneseFormat()
526 …errln("Parse incorrect of " + expected + " - wanted " + aDate + " but got " + " = " + otherDate… in TestJapaneseFormat()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DJapaneseTest.java159 …Date aDate = format.parse("1/5/9", pos); // after the start of Reiwa accession. Jan 1, R1 wouldn'… in Test3860() local
160 String inEn = enjformat.format(aDate); in Test3860()
163 cal.setTime(aDate); in Test3860()
186 aDate = fmt.parse(samplestr); in Test3860()
193 String str = fmt2.format(aDate); in Test3860()
196 cal2.setTime(aDate); in Test3860()
223 Date aDate = new Date(aDateLong); in Test5345parse() local
224 logln("aDate: " + aDate.toString() +", from " + aDateLong); in Test5345parse()
226 str = fmt2.format(aDate); in Test5345parse()
228 str = fmt.format(aDate); in Test5345parse()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DJapaneseTest.java162 …Date aDate = format.parse("1/5/9", pos); // after the start of Reiwa accession. Jan 1, R1 wouldn'… in Test3860() local
163 String inEn = enjformat.format(aDate); in Test3860()
166 cal.setTime(aDate); in Test3860()
189 aDate = fmt.parse(samplestr); in Test3860()
196 String str = fmt2.format(aDate); in Test3860()
199 cal2.setTime(aDate); in Test3860()
226 Date aDate = new Date(aDateLong); in Test5345parse() local
227 logln("aDate: " + aDate.toString() +", from " + aDateLong); in Test5345parse()
229 str = fmt2.format(aDate); in Test5345parse()
231 str = fmt.format(aDate); in Test5345parse()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestAll.java87 public void setFormatableDate(FormattableDate aDate) { in setFormatableDate() argument
88 df = aDate; in setFormatableDate()
/external/icu/icu4c/source/i18n/
Dastro.h353 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/python/cpython2/Lib/test/
Dtest_plistlib.py114 aDate = datetime.datetime(2004, 10, 26, 10, 33, 33),
/external/python/cpython2/Doc/library/
Dplistlib.rst128 aDate = datetime.datetime.fromtimestamp(time.mktime(time.gmtime())),
/external/python/cpython3/Doc/library/
Dplistlib.rst217 aDate = datetime.datetime.fromtimestamp(time.mktime(time.gmtime())),
/external/fonttools/Tests/misc/
Dplistlib_test.py60 aDate=datetime.datetime(2004, 10, 26, 10, 33, 33),
/external/u-boot/drivers/usb/musb-new/
Dmusb_core.c1395 char aInfo[90], aRevision[32], aDate[12]; in musb_core_init() local
1434 aDate[0] = 0; in musb_core_init()
1454 aRevision, aDate); in musb_core_init()
/external/python/cpython3/Lib/test/
Dtest_plistlib.py122 aDate = datetime.datetime(2004, 10, 26, 10, 33, 33),
/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()