allDaysInMonth property

Set<DateTime> allDaysInMonth

Generate a Set of DateTime which is from YearMonth

Implementation

Set<DateTime> get allDaysInMonth {
  Set<DateTime> aD = LinkedHashSet();
  for (int d = firstDay.day; d <= lastDay.day; d++) {
    aD.add(DateTime(year, month, d));
  }
  return aD;
}