int monthDaysInYear(int y, int m) { return (((lunarInfo()[y - 1900] & (0x10000 >> m)) != 0) ? 30 : 29); }