Time.fromDecades constructor

Time.fromDecades(
  1. Rational decades
)

Creates a Time representing the specified number of decades.

Implementation

factory Time.fromDecades(Rational decades) =>
    Time.fromUnits(TimeUnit.decade, decades);