Method
AddYears
func AddYears(years: int) -> Result<Date, InvalidDateError>
Declaring type: Date
Module: System.Time
Assembly: System.Runtime.dll
Source file: Date.rvn
Adds years, clamping February 29 to February 28 when necessary.
Parameters
| Name | Type | Description |
|---|---|---|
years |
Int32 |