ZonedDateTime.PlusYears(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a copy of this ZonedDateTime with the specified number of years added.
[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
Parameters
- years
- Int64
the years to add, may be negative
Returns
a ZonedDateTime based on this date-time with the years added, not null
- Attributes
Remarks
To be added.
Java reference for java.time.ZonedDateTime.plusYears.