getMonths method

List<SolarMonth> getMonths()

Implementation

List<SolarMonth> getMonths() {
  List<SolarMonth> l = <SolarMonth>[];
  int index = getIndex() - 1;
  for (int i = 0; i < MONTH_COUNT; i++) {
    l.add(SolarMonth.fromYm(_year, MONTH_COUNT * index + i + 1));
  }
  return l;
}