uint8_t month_length

uint8_t month_length(int16_t year, uint8_t month)

Return the length of month, given the year and month, where month is in the range 1 to 12.