YearMonth.lengthOfYear

Returns the length of the year. !(p) This returns the length of the year _in days, either 365 or 366.

@return 366 if the year is leap, 365 otherwise

class YearMonth
int
lengthOfYear
()

Meta