Condividi tramite


JapaneseEra.Value Property

Definition

Gets the numeric era int value.

public int Value { [Android.Runtime.Register("getValue", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getValue", "()I", "", ApiSince=26)>]
member this.Value : int

Property Value

the era value

Implements

Attributes

Remarks

Gets the numeric era int value.

The #SHOWA era that contains 1970-01-01 (ISO calendar system) has the value 1. Later eras are numbered from 2 (#HEISEI). Earlier eras are numbered 0 (#TAISHO), -1 (#MEIJI)).

Java documentation for java.time.chrono.JapaneseEra.getValue().

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