Language

IEra.Value Property

Definition

Gets the numeric value associated with the era as defined by the chronology.

public int Value { [Android.Runtime.Register("getValue", "()I", "GetGetValueHandler:Java.Time.Chrono.IEraInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getValue", "()I", "GetGetValueHandler:Java.Time.Chrono.IEraInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.Value : int

Property Value

the numeric era value

Attributes

Remarks

Gets the numeric value associated with the era as defined by the chronology. Each chronology defines the predefined Eras and methods to list the Eras of the chronology. All fields, including eras, have an associated numeric value. The meaning of the numeric value for era is determined by the chronology according to these principles: The era in use at the epoch 1970-01-01 (ISO) has the value 1; Later eras have sequentially higher values; Earlier eras have sequentially lower values, which may be negative.

Java reference for java.time.chrono.Era.getValue.

Applies to