Language

Year.AtMonthDay(MonthDay) Method

Definition

Combines this year with a month-day to create a LocalDate.

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

Parameters

monthDay
MonthDay

the month-day to use, not null

Returns

the local date formed from this year and the specified month-day, not null

Attributes

Remarks

Combines this year with a month-day to create a LocalDate. This returns a LocalDate formed from this year and the specified month-day. A month-day of February 29th will be adjusted to February 28th in the resulting date if the year is not a leap year.

Java reference for java.time.Year.atMonthDay.

Applies to