Searched refs:gc1 (Results 1 – 2 of 2) sorted by relevance
136 GregorianCalendar gc1 = new GregorianCalendar(AMERICA_NEW_YORK); in test_ConstructorLjava_util_TimeZone() local137 gc1.setTime(date); in test_ConstructorLjava_util_TimeZone()142 gc1.get(Calendar.HOUR), ((gc2.get(Calendar.HOUR) + 1) % 12)); in test_ConstructorLjava_util_TimeZone()171 GregorianCalendar gc1 = new GregorianCalendar(AMERICA_NEW_YORK, Locale.JAPAN); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale() local172 gc1.setTime(date); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale()179 gc1.get(Calendar.HOUR), ((gc3.get(Calendar.HOUR) + 1) % 12)); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale()180 assertTrue("Locales not created correctly", gc1.equals(gc2) in test_ConstructorLjava_util_TimeZoneLjava_util_Locale()181 && !gc1.equals(gc3)); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale()189 GregorianCalendar gc1 = new GregorianCalendar(1998, 11, 6); in test_addII() local190 gc1.add(GregorianCalendar.YEAR, 1); in test_addII()[all …]
33 GregorianCalendar gc1 = new GregorianCalendar(TimeZone.getTimeZone("GMT+1"), Locale.FRANCE); in testGetHour() local34 gc1.setTime(now); in testGetHour()38 assertTrue(gc2.get(Calendar.HOUR) == ((gc1.get(Calendar.HOUR) + 1) % 12)); in testGetHour()