Freigeben über


YearMonth.Now Method

Definition

Overloads

Now()
Now(Clock)
Now(ZoneId)

Now()

[Android.Runtime.Register("now", "()Ljava/time/YearMonth;", "", ApiSince=26)]
public static Java.Time.YearMonth? Now ();
[<Android.Runtime.Register("now", "()Ljava/time/YearMonth;", "", ApiSince=26)>]
static member Now : unit -> Java.Time.YearMonth

Returns

Attributes

Applies to

Now(Clock)

[Android.Runtime.Register("now", "(Ljava/time/Clock;)Ljava/time/YearMonth;", "", ApiSince=26)]
public static Java.Time.YearMonth? Now (Java.Time.Clock? clock);
[<Android.Runtime.Register("now", "(Ljava/time/Clock;)Ljava/time/YearMonth;", "", ApiSince=26)>]
static member Now : Java.Time.Clock -> Java.Time.YearMonth

Parameters

clock
Clock

Returns

Attributes

Applies to

Now(ZoneId)

[Android.Runtime.Register("now", "(Ljava/time/ZoneId;)Ljava/time/YearMonth;", "", ApiSince=26)]
public static Java.Time.YearMonth? Now (Java.Time.ZoneId? zone);
[<Android.Runtime.Register("now", "(Ljava/time/ZoneId;)Ljava/time/YearMonth;", "", ApiSince=26)>]
static member Now : Java.Time.ZoneId -> Java.Time.YearMonth

Parameters

zone
ZoneId

Returns

Attributes

Applies to