MonthDay.isValidYear

Checks if the year is valid for this month-day. !(p) This method checks whether this month and day and the input year form a valid date. This can only return false for February 29th.

@param year the year to validate @return true if the year is valid for this month-day @see Year#isValidMonthDay(MonthDay)

class MonthDay
bool
isValidYear
(
int year
)

Meta