length

fun Month.length(year: Int): Int

Finds the length of a given month based on the year, in days.