Returns number of days in given year (xxxx) and month (1-12)
static int daysInMonth(int year, int mon) => isLeapYear(year) ? daysInMonLeap[mon] : daysInMon[mon];