GregorianCalendarTest.java | 152 GregorianCalendar gc1 = new GregorianCalendar(AMERICA_NEW_YORK); local 153 gc1.setTime(date); 158 gc1.get(Calendar.HOUR), ((gc2.get(Calendar.HOUR) + 1) % 12)); 187 GregorianCalendar gc1 = new GregorianCalendar(AMERICA_NEW_YORK, Locale.JAPAN); local 188 gc1.setTime(date); 195 gc1.get(Calendar.HOUR), ((gc3.get(Calendar.HOUR) + 1) % 12)); 196 assertTrue("Locales not created correctly", gc1.equals(gc2) 197 && !gc1.equals(gc3)); 205 GregorianCalendar gc1 = new GregorianCalendar(1998, 11, 6); local 206 gc1.add(GregorianCalendar.YEAR, 1) 289 GregorianCalendar gc1 = new GregorianCalendar(1998, 11, 6); local 303 GregorianCalendar gc1 = new GregorianCalendar(1900, 1, 1); local 358 GregorianCalendar gc1 = new GregorianCalendar(1900, 1, 1); local 647 GregorianCalendar gc1 = new GregorianCalendar(1582, Calendar.OCTOBER, local [all...] |