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