ThaiBuddhistEra.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 ThaiBuddhistEra
from an int
value.
[Android.Runtime.Register("of", "(I)Ljava/time/chrono/ThaiBuddhistEra;", "", ApiSince=26)]
public static Java.Time.Chrono.ThaiBuddhistEra? Of (int thaiBuddhistEra);
[<Android.Runtime.Register("of", "(I)Ljava/time/chrono/ThaiBuddhistEra;", "", ApiSince=26)>]
static member Of : int -> Java.Time.Chrono.ThaiBuddhistEra
Parameters
- thaiBuddhistEra
- Int32
the era to represent, from 0 to 1
Returns
the BuddhistEra singleton, never null
- Attributes
Remarks
Obtains an instance of ThaiBuddhistEra
from an int
value.
ThaiBuddhistEra
is an enum representing the Thai Buddhist eras of BEFORE_BE/BE. This factory allows the enum to be obtained from the int
value.
Java documentation for java.time.chrono.ThaiBuddhistEra.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.