lastDayInNextWeek method
下周最后一天
firstWeekDay
- 设置每周起始日, assert(firstWeekDay > 0 && firstWeekDay < 7)
Implementation
DateTime lastDayInNextWeek([int firstWeekDay = 1]) {
assert(firstWeekDay > 0 && firstWeekDay < 7);
return this.add(Duration(days: 7)).lastDayInWeek(firstWeekDay);
}