Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/api/java/util/
DCalendarTest.java58 cal.set(Calendar.DATE, 24); in test_setII()
63 cal.set(Calendar.DATE, 31); in test_setII()
65 cal.set(Calendar.DATE, 26); in test_setII()
70 cal.set(Calendar.DATE, 27); in test_setII()
112 cal.set(Calendar.DATE, 24); in test_setII()
130 cal.set(Calendar.DATE, 5); in test_setII()
140 cal.set(Calendar.DATE, 5); in test_setII()
150 cal.set(Calendar.DATE, 11); in test_setII()
171 cal.set(Calendar.DATE, 5); in test_setII()
182 cal.set(Calendar.DATE, 5); in test_setII()
[all …]
DGregorianCalendarTest.java270 assertEquals("Wrong result date 1", 29, gc1.get(Calendar.DATE)); in test_addII()
276 assertEquals("Wrong result date 2", 28, gc1.get(Calendar.DATE)); in test_addII()
306 gc1.add(Calendar.DATE, 1); in test_addII()
332 gc1.add(Calendar.DATE, 1); in test_addII()
335 && gc1.get(Calendar.DATE) == 2 in test_addII()
714 assertTrue("Wrong date: " + cal.getTime(), cal.get(Calendar.DATE) == 9); in test_rollIZ()
757 gCalendClone.add(Calendar.DATE, 1); in test_clone()
DDateTest.java455 assertEquals("Parsed incorrect date", 13, cal.get(Calendar.DATE)); in test_parseLjava_lang_String()
639 cal.set(Calendar.DATE, 1); in test_toString()
/libcore/luni/src/main/java/java/util/
DGregorianCalendar.java401 if (fields[DATE] > days) { in add()
402 set(DATE, days); in add()
427 case DATE: in add()
546 fields[DATE] = date; in fullFieldsCalc()
582 fields[DATE] = cachedFields[2]; in cachedFieldsCheckAndGet()
674 cachedFields[2] = fields[DATE]; in computeFields()
785 boolean useMonth = (isSet[DATE] || isSet[MONTH] || weekMonthSet) in computeTime()
793 useMonth = isSet[DATE] && isSet[MONTH]; in computeTime()
807 boolean useDate = isSet[DATE]; in computeTime()
815 && (fields[DATE] < 1 || fields[DATE] > daysInMonth( in computeTime()
[all …]
DDate.java237 return new GregorianCalendar(milliseconds).get(Calendar.DATE); in getDate()
565 cal.set(Calendar.DATE, day); in setDate()
DCalendar.java531 public static final int DATE = 5; field in Calendar
1239 set(DATE, day); in set()
DSimpleTimeZone.java949 cal.set(Calendar.DATE, endDay); in writeObject()
957 cal.set(Calendar.DATE, startDay); in writeObject()
/libcore/luni/src/main/java/java/sql/
DTypes.java82 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/sqlite-jdbc/src/main/java/SQLite/JDBC2z/
DJDBCResultSetMetaData.java31 case Types.DATE: return "java.sql.Date"; in getColumnClassName()
109 case Types.DATE: return "date"; in getColumnTypeName()
DJDBCDatabaseMetaData.java1225 "DATE", "" + Types.DATE, "10", in getTypeInfo()
1457 case Types.DATE: return "date"; in mapTypeName()
1493 return Types.DATE; in mapSqlType()
1522 case Types.DATE: return 10; in getM()
/libcore/luni/src/test/java/tests/sql/
DResultSetGetterTests.java1450 cal2.set(Calendar.DATE, 9); in testGetTimeInt()
1528 cal2.set(Calendar.DATE, 9); in testGetTimeIntCalendar()
1627 cal2.set(Calendar.DATE, 9); in testGetTimeString()
1698 cal2.set(Calendar.DATE, 9); in testGetTimeStringCalendar()
1768 cal2.set(Calendar.DATE, 9); in testGetTimestampInt()
1781 cal3.set(Calendar.DATE, 22); in testGetTimestampInt()
1846 cal2.set(Calendar.DATE, 9); in testGetTimestampIntCalendar()
1859 cal3.set(Calendar.DATE, 22); in testGetTimestampIntCalendar()
1930 cal2.set(Calendar.DATE, 9); in testGetTimestampString()
1943 cal3.set(Calendar.DATE, 22); in testGetTimestampString()
[all …]
DPreparedStatementTest.java1999 ps.setNull(1, Types.DATE); in testSetNull_int_int()
2354 ps.setObject(1, d, Types.DATE); in testSetObject_int_Object_int()
2477 ps.setObject(1, d , Types.DATE, -1); in testSetObject_int_Object_int_int()
/libcore/luni/src/main/java/java/util/zip/
DZipEntry.java280 modDate = cal.get(Calendar.DATE); in setTime()
/libcore/luni/src/main/java/java/text/
DSimpleDateFormat.java623 field = Calendar.DATE; in append()
886 field = Calendar.DATE;
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java1386 Types.DATALINK, Types.DATE, Types.DECIMAL, Types.DISTINCT, in test_getTypeInfo()
/libcore/expectations/
Dknownfailures.txt574 description: "Fails for Types.DATE",