yearsFromNow method
- int years
Return the point in time years
from now on the same date.
If the current day of the month isn't valid in the new year, the nearest valid day in the original month will be used.
Implementation
DateTime yearsFromNow(int years) => yearsAgo(-years);