Condividi tramite


HijrahEra.Of(Int32) Method

Definition

Obtains an instance of HijrahEra from an int value.

[Android.Runtime.Register("of", "(I)Ljava/time/chrono/HijrahEra;", "", ApiSince=26)]
public static Java.Time.Chrono.HijrahEra? Of (int hijrahEra);
[<Android.Runtime.Register("of", "(I)Ljava/time/chrono/HijrahEra;", "", ApiSince=26)>]
static member Of : int -> Java.Time.Chrono.HijrahEra

Parameters

hijrahEra
Int32

the era to represent, only 1 supported

Returns

the HijrahEra.AH singleton, not null

Attributes

Remarks

Obtains an instance of HijrahEra from an int value.

The current era, which is the only accepted value, has the value 1

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

Applies to