method
next_year
rails 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.