因为工作上遇到要做近8周数据报表的需求,在这里记录一下这个小方法,参数是今年的周数,返回值是这周的具体日期范围:
public String getWeekDays(Integer week){
SimpleDateFormat sdf=new SimpleDateFormat("yyyy/MM/dd");
Calendar cal=Calendar.getInstance();
cal
因为工作上遇到要做近8周数据报表的需求,在这里记录一下这个小方法,参数是今年的周数,返回值是这周的具体日期范围:
public String getWeekDays(Integer week){
SimpleDateFormat sdf=new SimpleDateFormat("yyyy/MM/dd");
Calendar cal=Calendar.getInstance();
cal