setDays method
Implementation
List<Day> setDays(int year, int month) {
final days = <Day>[];
var id = 0;
for (var i = 1; i <= DateUtils.getDaysInMonth(year, month); ++i) {
id = id++;
days.add(Day(id, DateFormat('EEEE').format(DateTime(year, month, i)), i, false, isToday(year, month, i)));
}
return days;
}