Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/security/x509/
DInvalidityDateExtension.java67 public static final String DATE = "date"; field in InvalidityDateExtension
129 if (name.equalsIgnoreCase(DATE)) { in set()
142 if (name.equalsIgnoreCase(DATE)) { in get()
158 if (name.equalsIgnoreCase(DATE)) { in delete()
198 elements.addElement(DATE); in getElements()
/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.java215 assertEquals("Wrong result date 1", 29, gc1.get(Calendar.DATE)); in test_addII()
221 assertEquals("Wrong result date 2", 28, gc1.get(Calendar.DATE)); in test_addII()
250 gc1.add(Calendar.DATE, 1); in test_addII()
276 gc1.add(Calendar.DATE, 1); in test_addII()
279 && gc1.get(Calendar.DATE) == 2 in test_addII()
585 assertEquals("Wrong date: " + cal.getTime(), 2, cal.get(Calendar.DATE)); in test_rollIZ()
595 assertEquals("Wrong date: " + cal.getTime(), 7, cal.get(Calendar.DATE)); in test_rollIZ()
602 assertEquals("Wrong date: " + cal.getTime(), 14, cal.get(Calendar.DATE)); in test_rollIZ()
609 assertEquals("Wrong date: " + cal.getTime(), 7, cal.get(Calendar.DATE)); in test_rollIZ()
616 assertEquals("Wrong date: " + cal.getTime(), 30, cal.get(Calendar.DATE)); in test_rollIZ()
[all …]
DDateTest.java308 assertEquals("Parsed incorrect date", 13, cal.get(Calendar.DATE)); in test_parseLjava_lang_String()
444 cal.set(Calendar.DATE, 1); in test_toString()
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java62 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstForwardAdds23HoursAt0100()
78 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstForwardAdds24HoursAt0000()
87 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstBackAdds25HoursAt0000()
96 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstBackAdds25HoursAt0100()
123 calendar.add(Calendar.DATE, 1); in testAddOneDayAndOneDayOver30MinuteDstForwardAdds48Hours()
124 calendar.add(Calendar.DATE, 1); in testAddOneDayAndOneDayOver30MinuteDstForwardAdds48Hours()
134 calendar.add(Calendar.DATE, 2); in testAddTwoDaysOver30MinuteDstForwardAdds47AndAHalfHours()
219 assertEquals("day", day, calendar.get(Calendar.DATE)); in assertCalendarEquals()
/libcore/ojluni/src/main/java/java/sql/
DTypes.java134 public final static int DATE = 91; field in Types
/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.java1505 ps.setNull(1, Types.DATE); in testSetNull_int_int()
1782 ps.setObject(1, d, Types.DATE); in testSetObject_int_Object_int()
1876 ps.setObject(1, d , Types.DATE, -1); in testSetObject_int_Object_int_int()
/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/ojluni/src/main/java/java/util/
DCalendar.java431 public final static int DATE = 5; field in Calendar
1892 set(DATE, date); in set()
1916 set(DATE, date); in set()
1944 set(DATE, date); in set()
DFormatter.java4085 int i = t.get(Calendar.DATE);
4138 case DateTime.DATE: { // 'D' (mm/dd/yy)
4371 case DateTime.DATE: { // 'D' (mm/dd/yy)
4750 static final char DATE = 'D'; // (mm/dd/yy)
4797 case DATE:
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKOffsetTime.java139 private static final LocalDate DATE = LocalDate.of(2008, 12, 3); field in TCKOffsetTime
1222 return DATE.atTime(ot.toLocalTime()).toInstant(ot.getOffset());
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java1185 Types.DATALINK, Types.DATE, Types.DECIMAL, Types.DISTINCT, in test_getTypeInfo()
/libcore/ojluni/src/main/java/java/text/
DSimpleDateFormat.java1056 Calendar.DATE,
/libcore/expectations/
Dknownfailures.txt429 description: "Fails for Types.DATE",