lastMonthOfGroup method

int lastMonthOfGroup(
  1. int group
)

Returns the last month of the group.

Implementation

int lastMonthOfGroup(int group) => (firstMonthOfGroup(group) + group) - 1;