inYears property

double get inYears

Returns the time value in Years (yr).

Implementation

double get inYears => getValue(TimeUnit.year);