MinguoEra.Of(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtains an instance of MinguoEra
from an int
value.
[Android.Runtime.Register("of", "(I)Ljava/time/chrono/MinguoEra;", "", ApiSince=26)]
public static Java.Time.Chrono.MinguoEra? Of (int minguoEra);
[<Android.Runtime.Register("of", "(I)Ljava/time/chrono/MinguoEra;", "", ApiSince=26)>]
static member Of : int -> Java.Time.Chrono.MinguoEra
Parameters
- minguoEra
- Int32
the BEFORE_ROC/ROC value to represent, from 0 (BEFORE_ROC) to 1 (ROC)
Returns
the era singleton, not null
- Attributes
Remarks
Obtains an instance of MinguoEra
from an int
value.
MinguoEra
is an enum representing the Minguo eras of BEFORE_ROC/ROC. This factory allows the enum to be obtained from the int
value.
Java documentation for java.time.chrono.MinguoEra.of(int)
.
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.