1. 달력 객체를 생성하기 public class SampleCalendar { public static void main (String [] args) { Calendar cal = Calendar.getInstance (); System.out.println (cal); } } 2. 연, 월, 일, 시, 분, 초 생성하기 public class SampleCalendar { public static void main (String [] args) { Calendar cal = Calendar.getInstance (); System.out.println ( "연 :"+ cal.get (Calendar.YEAR)); System.out.println ( "월 :"+ (cal.get (Calendar.M..