Home
last modified time | relevance | path

Searched refs:DATE (Results 1 – 17 of 17) 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.java60 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstForwardAdds23HoursAt0100()
76 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstForwardAdds24HoursAt0000()
85 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstBackAdds25HoursAt0000()
94 calendar.add(Calendar.DATE, 1); in testAddOneDayOverDstBackAdds25HoursAt0100()
121 calendar.add(Calendar.DATE, 1); in testAddOneDayAndOneDayOver30MinuteDstForwardAdds48Hours()
122 calendar.add(Calendar.DATE, 1); in testAddOneDayAndOneDayOver30MinuteDstForwardAdds48Hours()
132 calendar.add(Calendar.DATE, 2); in testAddTwoDaysOver30MinuteDstForwardAdds47AndAHalfHours()
217 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.java4086 int i = t.get(Calendar.DATE);
4139 case DateTime.DATE: { // 'D' (mm/dd/yy)
4372 case DateTime.DATE: { // 'D' (mm/dd/yy)
4752 static final char DATE = 'D'; // (mm/dd/yy)
4799 case DATE:
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java172 public static final int DATE = 5; // 0x5 field in Calendar
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java421 public static final int DATE = 5; // 0x5 field in Calendar
/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.java1138 Calendar.DATE,
/libcore/expectations/
Dknownfailures.txt429 description: "Fails for Types.DATE",