共用方式為


Duration.WithSeconds(Int64) 方法

定義

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

參數

seconds
Int64

傳回

屬性

適用於