Time.fromMonths constructor
Time.fromMonths(
- Rational months
Creates a Time representing the specified number of months
.
Implementation
factory Time.fromMonths(Rational months) =>
Time.fromUnits(TimeUnit.month, months);