Lingua

LocalDate.OfYearDay(Int32, Int32) Method

Definition

Obtains an instance of LocalDate from a year and day-of-year.

[Android.Runtime.Register("ofYearDay", "(II)Ljava/time/LocalDate;", "", ApiSince=26)]
public static Java.Time.LocalDate? OfYearDay(int year, int dayOfYear);
[<Android.Runtime.Register("ofYearDay", "(II)Ljava/time/LocalDate;", "", ApiSince=26)>]
static member OfYearDay : int * int -> Java.Time.LocalDate

Parameters

year
Int32

the year to represent, from MIN_YEAR to MAX_YEAR

dayOfYear
Int32

the day-of-year to represent, from 1 to 366

Returns

the local date, not null

Attributes

Remarks

To be added.

Java reference for java.time.LocalDate.ofYearDay.

Applies to