Month constructor

Month(
  1. List<Week> weeks
)

Implementation

Month(this.weeks)
    : year = weeks.first.firstDay.year,
      month = weeks.first.firstDay.month,
      daysInMonth = weeks.first.firstDay.daysInMonth;