Condividi tramite


IsoChronology.DateYearDay Method

Definition

Overloads

DateYearDay(Int32, Int32)

Obtains an ISO local date from the proleptic-year and day-of-year fields.

DateYearDay(IEra, Int32, Int32)

Obtains an ISO local date from the era, year-of-era and day-of-year fields.

DateYearDay(Int32, Int32)

Obtains an ISO local date from the proleptic-year and day-of-year fields.

[Android.Runtime.Register("dateYearDay", "(II)Ljava/time/LocalDate;", "", ApiSince=26)]
public virtual Java.Time.LocalDate? DateYearDay (int prolepticYear, int dayOfYear);
[<Android.Runtime.Register("dateYearDay", "(II)Ljava/time/LocalDate;", "", ApiSince=26)>]
override this.DateYearDay : int * int -> Java.Time.LocalDate

Parameters

prolepticYear
Int32

the ISO proleptic-year

dayOfYear
Int32

the ISO day-of-year

Returns

the ISO local date, not null

Attributes

Remarks

Obtains an ISO local date from the proleptic-year and day-of-year fields.

This is equivalent to LocalDate#ofYearDay(int, int).

Java documentation for java.time.chrono.IsoChronology.dateYearDay(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

DateYearDay(IEra, Int32, Int32)

Obtains an ISO local date from the era, year-of-era and day-of-year fields.

[Android.Runtime.Register("dateYearDay", "(Ljava/time/chrono/Era;II)Ljava/time/LocalDate;", "", ApiSince=26)]
public Java.Time.LocalDate? DateYearDay (Java.Time.Chrono.IEra? era, int yearOfEra, int dayOfYear);
[<Android.Runtime.Register("dateYearDay", "(Ljava/time/chrono/Era;II)Ljava/time/LocalDate;", "", ApiSince=26)>]
override this.DateYearDay : Java.Time.Chrono.IEra * int * int -> Java.Time.LocalDate

Parameters

era
IEra

the ISO era, not null

yearOfEra
Int32

the ISO year-of-era

dayOfYear
Int32

the ISO day-of-year

Returns

the ISO local date, not null

Attributes

Remarks

Obtains an ISO local date from the era, year-of-era and day-of-year fields.

Java documentation for java.time.chrono.IsoChronology.dateYearDay(java.time.chrono.Era, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to