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