Get last day of YearMonth and convert back to YearMonth
DateTime get lastDay => DateTime(year, month + 1, 0);