다음을 통해 공유


Duration.OfSeconds Method

Definition

Overloads

OfSeconds(Int64)
OfSeconds(Int64, Int64)

OfSeconds(Int64)

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

Parameters

seconds
Int64

Returns

Attributes

Applies to

OfSeconds(Int64, Int64)

[Android.Runtime.Register("ofSeconds", "(JJ)Ljava/time/Duration;", "", ApiSince=26)]
public static Java.Time.Duration? OfSeconds (long seconds, long nanoAdjustment);
[<Android.Runtime.Register("ofSeconds", "(JJ)Ljava/time/Duration;", "", ApiSince=26)>]
static member OfSeconds : int64 * int64 -> Java.Time.Duration

Parameters

seconds
Int64
nanoAdjustment
Int64

Returns

Attributes

Applies to