roundToFirstDayOfWeek method

DateTime roundToFirstDayOfWeek()

Returns a new DateTime rounded to the first day of the week (Monday).

Implementation

DateTime roundToFirstDayOfWeek() {
  return DateTimeCalculator.roundToFirstDayOfWeek(this);
}