getDayCount method

int getDayCount()

Implementation

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