Duration.OfSeconds Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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