GregorianCalendar的例子 GregorianCalendar rightNow new GregorianCalendar () System.out.println(week of the year is "+rightNow.get (GregorianCalendar.WEEK OF YEAR)); 显示当前时间的星期 ©2006计算机系杨厚群 All rights lefts reserved ©2006 计算机系 杨厚群 All rights & lefts reserved. GregorianCalendar的例子 GregorianCalendar rightNow = new GregorianCalendar(); System.out.println("week of the year is "+rightNow.get (GregorianCalendar.WEEK_OF_YEAR)); 显示当前时间的星期