Home
last modified time | relevance | path

Searched refs:cal1 (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetGetterTests.java985 Calendar cal1 = new GregorianCalendar(); in testGetTimeIntCalendar() local
986 cal1.clear(); in testGetTimeIntCalendar()
987 cal1.set(Calendar.HOUR_OF_DAY, 12); in testGetTimeIntCalendar()
988 cal1.set(Calendar.MINUTE, 35); in testGetTimeIntCalendar()
989 cal1.set(Calendar.SECOND, 45); in testGetTimeIntCalendar()
990 cal1.set(Calendar.MILLISECOND, 0); in testGetTimeIntCalendar()
992 long millis = cal1.getTime().getTime(); in testGetTimeIntCalendar()
1110 Calendar cal1 = new GregorianCalendar(); in testGetTimeStringCalendar() local
1111 cal1.clear(); in testGetTimeStringCalendar()
1112 cal1.set(Calendar.HOUR_OF_DAY, 12); in testGetTimeStringCalendar()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatTest.java66 Calendar cal1 = format.getCalendar(); in test_getCalendar() local
68 assertTrue("Calendars not identical", cal1 == cal2); in test_getCalendar()