doubleMonthDaysInYear method

int doubleMonthDaysInYear(
  1. int y
)

Implementation

int doubleMonthDaysInYear(int y) {
  if (doubleMonthInYear(y) != 0) {
    return (((lunarInfo()[y - 1900] & 0x10000) != 0) ? 30 : 29);
  } else {
    return 0;
  }
}