Home
last modified time | relevance | path

Searched refs:DATE (Results 1 – 16 of 16) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java56 cal.set(Calendar.DATE, 24); in test_setII()
61 cal.set(Calendar.DATE, 31); in test_setII()
63 cal.set(Calendar.DATE, 26); in test_setII()
68 cal.set(Calendar.DATE, 27); in test_setII()
110 cal.set(Calendar.DATE, 24); in test_setII()
128 cal.set(Calendar.DATE, 5); in test_setII()
138 cal.set(Calendar.DATE, 5); in test_setII()
148 cal.set(Calendar.DATE, 11); in test_setII()
169 cal.set(Calendar.DATE, 5); in test_setII()
180 cal.set(Calendar.DATE, 5); in test_setII()
[all …]
DGregorianCalendarTest.java199 assertEquals("Wrong result date 1", 29, gc1.get(Calendar.DATE)); in test_addII()
205 assertEquals("Wrong result date 2", 28, gc1.get(Calendar.DATE)); in test_addII()
234 gc1.add(Calendar.DATE, 1); in test_addII()
260 gc1.add(Calendar.DATE, 1); in test_addII()
263 && gc1.get(Calendar.DATE) == 2 in test_addII()
575 assertEquals("Wrong date: " + cal.getTime(), 9, cal.get(Calendar.DATE)); in test_rollIZ()
585 assertEquals("Wrong date: " + cal.getTime(), 7, cal.get(Calendar.DATE)); in test_rollIZ()
592 assertEquals("Wrong date: " + cal.getTime(), 14, cal.get(Calendar.DATE)); in test_rollIZ()
599 assertEquals("Wrong date: " + cal.getTime(), 7, cal.get(Calendar.DATE)); in test_rollIZ()
606 assertEquals("Wrong date: " + cal.getTime(), 30, cal.get(Calendar.DATE)); in test_rollIZ()
[all …]
DDateTest.java307 assertEquals("Parsed incorrect date", 13, cal.get(Calendar.DATE)); in test_parseLjava_lang_String()
443 cal.set(Calendar.DATE, 1); in test_toString()
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java57 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstForwardAdds23HoursAt0100()
73 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstForwardAdds24HoursAt0000()
82 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstBackAdds25HoursAt0000()
91 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstBackAdds25HoursAt0100()
118 calendar.add(Calendar.DATE, 1); in testAddOneDayAndOneDayOver30MinuteDstForwardAdds48Hours()
119 calendar.add(Calendar.DATE, 1); in testAddOneDayAndOneDayOver30MinuteDstForwardAdds48Hours()
129 calendar.add(Calendar.DATE, 2); in testAddTwoDaysOver30MinuteDstForwardAdds47AndAHalfHours()
202 assertEquals(day, calendar.get(Calendar.DATE)); in assertCalendarEquals()
/libcore/luni/src/main/java/java/util/
DGregorianCalendar.java400 if (fields[DATE] > days) { in add()
401 set(DATE, days); in add()
426 case DATE: in add()
554 fields[DATE] = date; in fullFieldsCalc()
694 boolean useMonth = (isSet[DATE] || isSet[MONTH] || weekMonthSet) in computeTime()
710 useMonth = isSet[DATE] && isSet[MONTH]; in computeTime()
724 boolean useDate = isSet[DATE]; in computeTime()
732 && (fields[DATE] < 1 || fields[DATE] > daysInMonth( in computeTime()
736 days += fields[DATE] - 1; in computeTime()
921 set(DATE, 31); in getActualMaximum()
[all …]
DCalendar.java531 public static final int DATE = 5; field in Calendar
1144 set(DATE, day); in set()
DDate.java243 return new GregorianCalendar(milliseconds).get(Calendar.DATE); in getDate()
574 cal.set(Calendar.DATE, day); in setDate()
DSimpleTimeZone.java856 cal.set(Calendar.DATE, endDay); in writeObject()
864 cal.set(Calendar.DATE, startDay); in writeObject()
/libcore/luni/src/main/java/java/sql/
DTypes.java81 public static final int DATE = 91; field in Types
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeConstants.java216 public static final QName DATE = new QName(XMLConstants.W3C_XML_SCHEMA_NS_URI, "date"); field in DatatypeConstants
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetGetterTests.java941 cal2.set(Calendar.DATE, 9); in testGetTimeInt()
998 cal2.set(Calendar.DATE, 9); in testGetTimeIntCalendar()
1071 cal2.set(Calendar.DATE, 9); in testGetTimeString()
1123 cal2.set(Calendar.DATE, 9); in testGetTimeStringCalendar()
1170 cal2.set(Calendar.DATE, 9); in testGetTimestampInt()
1183 cal3.set(Calendar.DATE, 22); in testGetTimestampInt()
1227 cal2.set(Calendar.DATE, 9); in testGetTimestampIntCalendar()
1240 cal3.set(Calendar.DATE, 22); in testGetTimestampIntCalendar()
1290 cal2.set(Calendar.DATE, 9); in testGetTimestampString()
1303 cal3.set(Calendar.DATE, 22); in testGetTimestampString()
[all …]
DOldPreparedStatementTest.java1507 ps.setNull(1, Types.DATE); in testSetNull_int_int()
1784 ps.setObject(1, d, Types.DATE); in testSetObject_int_Object_int()
1878 ps.setObject(1, d , Types.DATE, -1); in testSetObject_int_Object_int_int()
/libcore/luni/src/main/java/java/util/zip/
DZipEntry.java296 modDate = cal.get(Calendar.DATE); in setTime()
/libcore/luni/src/main/java/java/text/
DSimpleDateFormat.java606 field = Calendar.DATE; in append()
886 field = Calendar.DATE; in parse()
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java1185 Types.DATALINK, Types.DATE, Types.DECIMAL, Types.DISTINCT, in test_getTypeInfo()
/libcore/expectations/
Dknownfailures.txt419 description: "Fails for Types.DATE",