Udostępnij za pośrednictwem


AbstractChronology.Eras Method

Definition

Gets the list of eras for the chronology.

[Android.Runtime.Register("eras", "()Ljava/util/List;", "GetErasHandler", ApiSince=26)]
public abstract System.Collections.Generic.IList<Java.Time.Chrono.IEra>? Eras ();
[<Android.Runtime.Register("eras", "()Ljava/util/List;", "GetErasHandler", ApiSince=26)>]
abstract member Eras : unit -> System.Collections.Generic.IList<Java.Time.Chrono.IEra>

Returns

the list of eras for the chronology, may be immutable, not null

Implements

Attributes

Remarks

Gets the list of eras for the chronology.

Most calendar systems have an era, within which the year has meaning. If the calendar system does not support the concept of eras, an empty list must be returned.

Java documentation for java.time.chrono.Chronology.eras().

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