getDayCount method
Implementation
int getDayCount() {
int n = 0;
for (LunarMonth m in _months) {
if (m.getYear() == _year) {
n += m.getDayCount();
}
}
return n;
}
int getDayCount() {
int n = 0;
for (LunarMonth m in _months) {
if (m.getYear() == _year) {
n += m.getDayCount();
}
}
return n;
}