共用方式為


Duration.OfNanos(Int64) Method

Definition

[Android.Runtime.Register("ofNanos", "(J)Ljava/time/Duration;", "", ApiSince=26)]
public static Java.Time.Duration? OfNanos (long nanos);
[<Android.Runtime.Register("ofNanos", "(J)Ljava/time/Duration;", "", ApiSince=26)>]
static member OfNanos : int64 -> Java.Time.Duration

Parameters

nanos
Int64

Returns

Attributes

Applies to