Year.IsValidMonthDay(MonthDay) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.