Condividi tramite


MinguoEra.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, from 0 (BEFORE_ROC) to 1 (ROC)

Implements

Attributes

Remarks

Gets the numeric era int value.

The era BEFORE_ROC has the value 0, while the era ROC has the value 1.

Java documentation for java.time.chrono.MinguoEra.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