Sdílet prostřednictvím


Instant.Now Method

Definition

Overloads

Now()
Now(Clock)

Now()

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

Returns

Attributes

Applies to

Now(Clock)

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

Parameters

clock
Clock

Returns

Attributes

Applies to