摘要:
Calendar c= Calendar.getInstance(); //返回当前天是该月的第几天 System.out.println(c.get(Calendar.DAY_OF_MONTH)); //指定某一你哪 c.set(Calendar.YEAR, 2013); //指定某一月 月份从0-11 c.set(Calendar.MONTH, 9); //返回该月有几天 System.out.println(c.getActualMaximum(... 阅读全文