years

val Int.years: IntYears
val Long.years: LongYears

Converts this value to a duration of years.