共用方式為


Duration.OfMillis(Int64) Method

Definition

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

Parameters

millis
Int64

Returns

Attributes

Applies to