Searched refs:cal1 (Results 1 – 2 of 2) sorted by relevance
985 Calendar cal1 = new GregorianCalendar(); in testGetTimeIntCalendar() local986 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() local1111 cal1.clear(); in testGetTimeStringCalendar()1112 cal1.set(Calendar.HOUR_OF_DAY, 12); in testGetTimeStringCalendar()[all …]
66 Calendar cal1 = format.getCalendar(); in test_getCalendar() local68 assertTrue("Calendars not identical", cal1 == cal2); in test_getCalendar()