lastDayOfMonthGroup method

date lastDayOfMonthGroup(
  1. int group
)

Returns the last day of the month group.

Implementation

date lastDayOfMonthGroup(int group) => DateTime(year, lastMonthOfGroup(group) + 1, 0);