Calendarc=newGregorianCalendar();c.setFirstDayOfWeek(Calendar.MONDAY);c.setTime(newDate());c.set(Calendar.DAY_OF_WEEK,c.getFirstDayOfWeek());//MondaySystem.out.println(c.getTime());c.set(Calendar.DAY_OF_WEEK,c.getFirstDayOfWeek()+6);//Sunday//本周第一天,以星期日开始。。。。。。。。。。。。。。。//本月第一天