getMonths method
Implementation
List<SolarMonth> getMonths() {
List<SolarMonth> l = <SolarMonth>[];
SolarMonth m = new SolarMonth.fromYm(_year, 1);
l.add(m);
for (int i = 1; i < MONTH_COUNT; i++) {
l.add(m.next(i));
}
return l;
}
List<SolarMonth> getMonths() {
List<SolarMonth> l = <SolarMonth>[];
SolarMonth m = new SolarMonth.fromYm(_year, 1);
l.add(m);
for (int i = 1; i < MONTH_COUNT; i++) {
l.add(m.next(i));
}
return l;
}