previousMonth method

ReportMonth previousMonth()

Implementation

ReportMonth previousMonth() {
  if (month == KeckMonth.january) {
    return ReportMonth(KeckMonth.december, year - 1);
  } else {
    return ReportMonth(KeckMonth.values[month.index - 1], year);
  }
}