Time.fromMonths constructor

Time.fromMonths(
  1. Rational months
)

Creates a Time representing the specified number of months.

Implementation

factory Time.fromMonths(Rational months) =>
    Time.fromUnits(TimeUnit.month, months);