yearsFromNow method

DateTime yearsFromNow(
  1. int years
)

Return the point in time years from now on the same date.

Implementation

DateTime yearsFromNow(int years) => yearsAgo(-years);