Year.IsValidMonthDay(MonthDay) Method

Definition

Checks if the month-day is valid for this year.

[Android.Runtime.Register("isValidMonthDay", "(Ljava/time/MonthDay;)Z", "", ApiSince=26)]
public bool IsValidMonthDay(Java.Time.MonthDay? monthDay);
[<Android.Runtime.Register("isValidMonthDay", "(Ljava/time/MonthDay;)Z", "", ApiSince=26)>]
member this.IsValidMonthDay : Java.Time.MonthDay -> bool

Parameters

monthDay
MonthDay

the month-day to validate, null returns false

Returns

true if the month and day are valid for this year

Attributes

Remarks

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

Java reference for java.time.Year.isValidMonthDay.

Applies to