Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetGetterTests.java938 Calendar cal2 = new GregorianCalendar(); in testGetTimeInt() local
939 cal2.set(Calendar.YEAR, 2007); in testGetTimeInt()
940 cal2.set(Calendar.MONTH, Calendar.OCTOBER); in testGetTimeInt()
941 cal2.set(Calendar.DATE, 9); in testGetTimeInt()
942 cal2.set(Calendar.HOUR_OF_DAY, 14); in testGetTimeInt()
943 cal2.set(Calendar.MINUTE, 28); in testGetTimeInt()
944 cal2.set(Calendar.SECOND, 02); in testGetTimeInt()
945 cal2.set(Calendar.MILLISECOND, 0); in testGetTimeInt()
947 long millis2 = cal2.getTime().getTime(); in testGetTimeInt()
995 Calendar cal2 = new GregorianCalendar(); in testGetTimeIntCalendar() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatTest.java67 Calendar cal2 = format.getCalendar(); in test_getCalendar() local
68 assertTrue("Calendars not identical", cal1 == cal2); in test_getCalendar()