Language

ChronoField.EpochDay Property

Definition

The epoch-day, based on the Java epoch of 1970-01-01 (ISO).

[Android.Runtime.Register("EPOCH_DAY", ApiSince=26)]
public static Java.Time.Temporal.ChronoField? EpochDay { get; }
[<Android.Runtime.Register("EPOCH_DAY", ApiSince=26)>]
static member EpochDay : Java.Time.Temporal.ChronoField

Property Value

Attributes

Remarks

The epoch-day, based on the Java epoch of 1970-01-01 (ISO). This field is the sequential count of days where 1970-01-01 (ISO) is zero. Note that this uses the local time-line, ignoring offset and time-zone. This field is strictly defined to have the same meaning in all calendar systems. This is necessary to ensure interoperation between calendars. Range of EpochDay is between (LocalDate.MIN.toEpochDay(), LocalDate.MAX.toEpochDay()) both inclusive.

Java reference for java.time.temporal.ChronoField.EPOCH_DAY.

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