monthsInYear property

Iterable<Hora> get monthsInYear

Generates all months in the year.

Implementation

Iterable<Hora> get monthsInYear sync* {
  for (var m = 1; m <= 12; m++) {
    yield Hora.of(year: year, month: m, locale: locale);
  }
}