IChronology.DateEpochDay(Int64) Method

Definition

Obtains a local date in this chronology from the epoch-day.

[Android.Runtime.Register("dateEpochDay", "(J)Ljava/time/chrono/ChronoLocalDate;", "GetDateEpochDay_JHandler:Java.Time.Chrono.IChronologyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Java.Time.Chrono.IChronoLocalDate? DateEpochDay (long epochDay);
[<Android.Runtime.Register("dateEpochDay", "(J)Ljava/time/chrono/ChronoLocalDate;", "GetDateEpochDay_JHandler:Java.Time.Chrono.IChronologyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member DateEpochDay : int64 -> Java.Time.Chrono.IChronoLocalDate

Parameters

epochDay
Int64

the epoch day

Returns

the local date in this chronology, not null

Attributes

Remarks

Obtains a local date in this chronology from the epoch-day.

The definition of ChronoField#EPOCH_DAY EPOCH_DAY is the same for all calendar systems, thus it can be used for conversion.

Java documentation for java.time.chrono.Chronology.dateEpochDay(long).

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