Calendar 具体使用方法:
 
Calendar c = Calendar.getInstance();
  System.out.println("年:"+  c.get( Calendar.YEAR ) );
  System.out.println("月:"+  (c.get( Calendar.MONTH )+1) );
  System.out.println("日:"+ c.get( Calendar.DATE ) );
  System.out.println("时:"+  c.get( Calendar.HOUR_OF_DAY ) );
  System.out.println("分:"+ c.get( Calendar.MINUTE ));
  System.out.println("秒:"+ c.get( Calendar.SECOND ));
  System.out.println("毫秒:"+ c.get( Calendar.MILLISECOND ));