YearMonth.isValidDay

Checks if the day-of-month is valid for this year-month. !(p) This method checks whether this year and month and the input day form a valid date.

@param dayOfMonth the day-of-month to validate, from 1 to 31, invalid value returns false @return true if the day is valid for this year-month

class YearMonth
bool
isValidDay

Meta