言語

ZonedDateTime.PlusYears(Int64) メソッド

定義

指定した年数が加算された、この ZonedDateTime のコピーを返します。

[Android.Runtime.Register("plusYears", "(J)Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public Java.Time.ZonedDateTime? PlusYears(long years);
[<Android.Runtime.Register("plusYears", "(J)Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
member this.PlusYears : int64 -> Java.Time.ZonedDateTime

パラメーター

years
Int64

加算する年数は、負の値になる可能性があります。

返品

この日時に基づく ZonedDateTime で、年が null ではなく加算されます

属性

注釈

追加する。

Javaリファレンス。

適用対象