YearMonth.lengthOfMonth

Returns the length of the month, taking account of the year. !(p) This returns the length of the month _in days. For example, a date _in January would return 31.

@return the length of the month _in days, from 28 to 31

class YearMonth
int
lengthOfMonth
()

Meta