LocalDate.Era Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the era applicable at this date.
public Java.Time.Chrono.IEra? Era { [Android.Runtime.Register("getEra", "()Ljava/time/chrono/Era;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getEra", "()Ljava/time/chrono/Era;", "", ApiSince=26)>]
member this.Era : Java.Time.Chrono.IEra
Property Value
the IsoEra applicable at this date, not null
Implements
- Attributes
Remarks
Gets the era applicable at this date. The official ISO-8601 standard does not define eras, however IsoChronology does. It defines two eras, 'CE' from year one onwards and 'BCE' from year zero backwards. Since dates before the Julian-Gregorian cutover are not in line with history, the cutover between 'BCE' and 'CE' is also not aligned with the commonly used eras, often referred to using 'BC' and 'AD'. Users of this class should typically ignore this method as it exists primarily to fulfill the ChronoLocalDate contract where it is necessary to support the Japanese calendar system.
Java reference for java.time.LocalDate.getEra.