OffsetDateTime.PlusDays(Int64) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一份 OffsetDateTime 的副本,並加上指定的天數。
[Android.Runtime.Register("plusDays", "(J)Ljava/time/OffsetDateTime;", "", ApiSince=26)]
public Java.Time.OffsetDateTime? PlusDays(long days);
[<Android.Runtime.Register("plusDays", "(J)Ljava/time/OffsetDateTime;", "", ApiSince=26)>]
member this.PlusDays : int64 -> Java.Time.OffsetDateTime
參數
- days
- Int64
增加的天數,可能會是負面的
傳回
一個基於此日期時間加上天數的 OffsetDateTime,而非空
- 屬性
備註
要加入。
Java 參考 java.time.OffsetDateTime.plusDays。