static List<int> daysPerMonth(int year) => <int>[ 31, _isLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, ];