Duration.WithSeconds(Int64) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した秒数でこの期間のコピーを返します。
[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
表す秒は負の値である可能性があります。
返品
a Duration based based on this duration with the requested seconds, not null
- 属性
注釈
追加する。