Searched refs:g1 (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldGregorianCalendarTest.java | 42 GregorianCalendar g1 = new GregorianCalendar(TimeZone.getTimeZone("Europe/Moscow")); in test_computeTime() local 43 g1.clear(); in test_computeTime() 44 g1.set(2006, -9, 29, 02, 50, 00); // transition from DST in test_computeTime() 45 g1.setLenient(false); in test_computeTime() 48 g1.getTimeInMillis(); in test_computeTime() 75 GregorianCalendar g1 = new GregorianCalendar( in test_hashCode() local 77 g1.clear(); in test_hashCode() 78 g1.set(2008, Calendar.SEPTEMBER, 23, 18, 0, 0); in test_hashCode() 79 assertNotSame(g.hashCode(), g1.hashCode()); in test_hashCode()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | GregorianCalendarTest.java | 702 GregorianCalendar g1 = new GregorianCalendar( in test_computeTime() local 704 g1.clear(); in test_computeTime() 705 g1.set(2006, Calendar.MARCH, 26, 02, 20, 00); in test_computeTime() 706 assertEquals(1143328800000L, g1.getTimeInMillis()); in test_computeTime() 707 assertEquals(3, g1.get(Calendar.HOUR_OF_DAY)); in test_computeTime() 708 assertEquals(20, g1.get(Calendar.MINUTE)); in test_computeTime() 710 g1.clear(); in test_computeTime() 711 g1.set(2006, Calendar.OCTOBER, 29, 02, 50, 00); in test_computeTime() 712 assertEquals(1162079400000L, g1.getTimeInMillis()); in test_computeTime() 713 assertEquals(2, g1.get(Calendar.HOUR_OF_DAY)); in test_computeTime() [all …]
|