Time.fromSeconds constructor
Time.fromSeconds(
- Rational seconds
Creates a Time representing the specified number of seconds
.
Implementation
factory Time.fromSeconds(Rational seconds) =>
Time.fromUnits(TimeUnit.second, seconds);