Searched refs:gc1 (Results 1 – 2 of 2) sorted by relevance
152 GregorianCalendar gc1 = new GregorianCalendar(AMERICA_NEW_YORK); in test_ConstructorLjava_util_TimeZone() local153 gc1.setTime(date); in test_ConstructorLjava_util_TimeZone()158 gc1.get(Calendar.HOUR), ((gc2.get(Calendar.HOUR) + 1) % 12)); in test_ConstructorLjava_util_TimeZone()187 GregorianCalendar gc1 = new GregorianCalendar(AMERICA_NEW_YORK, Locale.JAPAN); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale() local188 gc1.setTime(date); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale()195 gc1.get(Calendar.HOUR), ((gc3.get(Calendar.HOUR) + 1) % 12)); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale()196 assertTrue("Locales not created correctly", gc1.equals(gc2) in test_ConstructorLjava_util_TimeZoneLjava_util_Locale()197 && !gc1.equals(gc3)); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale()205 GregorianCalendar gc1 = new GregorianCalendar(1998, 11, 6); in test_addII() local206 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()