首页 > TAG信息列表 > yearNo
根据年和周数,返回这周起止时间
// 返回星期一和星期日 getWeekRange(yearNo: number, weekNo: number): any { let firstDayofYear = new Date(yearNo, 0, 1); if (firstDayofYear.getDay() > 4) { let weekStart = new Date(yearNo, 0, 1 + (weekNo - 1) * 7 - fi根据年和周数,返回这周起止时间
// 返回星期一和星期日 getWeekRange(yearNo: number, weekNo: number): any { let firstDayofYear = new Date(yearNo, 0, 1); if (firstDayofYear.getDay() > 4) { let weekStart = new Date(yearNo, 0, 1 + (weekNo - 1) * 7 - fi