Megosztás a következőn keresztül:


IChronology.Eras Method

Definition

Gets the list of eras for the chronology.

[Android.Runtime.Register("eras", "()Ljava/util/List;", "GetErasHandler:Java.Time.Chrono.IChronologyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public System.Collections.Generic.IList<Java.Time.Chrono.IEra>? Eras ();
[<Android.Runtime.Register("eras", "()Ljava/util/List;", "GetErasHandler:Java.Time.Chrono.IChronologyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", 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

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