Udostępnij za pośrednictwem


Instant.OfEpochSecond Method

Definition

Overloads

OfEpochSecond(Int64)
OfEpochSecond(Int64, Int64)

OfEpochSecond(Int64)

[Android.Runtime.Register("ofEpochSecond", "(J)Ljava/time/Instant;", "", ApiSince=26)]
public static Java.Time.Instant? OfEpochSecond (long epochSecond);
[<Android.Runtime.Register("ofEpochSecond", "(J)Ljava/time/Instant;", "", ApiSince=26)>]
static member OfEpochSecond : int64 -> Java.Time.Instant

Parameters

epochSecond
Int64

Returns

Attributes

Applies to

OfEpochSecond(Int64, Int64)

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

Parameters

epochSecond
Int64
nanoAdjustment
Int64

Returns

Attributes

Applies to