Searched refs:cal2 (Results 1 – 2 of 2) sorted by relevance
938 Calendar cal2 = new GregorianCalendar(); in testGetTimeInt() local939 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 …]
67 Calendar cal2 = format.getCalendar(); in test_getCalendar() local68 assertTrue("Calendars not identical", cal1 == cal2); in test_getCalendar()