method
next_year
v5.2.3 -
Show latest stable
- Class:
DateAndTime::Calculations
next_year(years = 1)public
Returns a new date/time the specified number of years in the future.
next_year(years = 1)Returns a new date/time the specified number of years in the future.