Sdílet prostřednictvím


OffsetTime.Now Method

Definition

Overloads

Now()
Now(ZoneId)
Now(Clock)

Now()

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

Returns

Attributes

Applies to

Now(ZoneId)

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

Parameters

zone
ZoneId

Returns

Attributes

Applies to

Now(Clock)

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

Parameters

clock
Clock

Returns

Attributes

Applies to