validDay

fun validDay(day: <Error class: unknown class>): Boolean

Returns true if the day of the month is valid (a day is valid if it's between 1 and 31 inclusive).

Return

true if the day is valid

Parameters

day

day to check