共用方式為


OffsetDateTime.PlusYears(Int64) 方法

定義

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

參數

years
Int64

傳回

屬性

適用於