Time.fromHours constructor
Time.fromHours(
- Rational hours
Creates a Time representing the specified number of hours
.
Implementation
factory Time.fromHours(Rational hours) =>
Time.fromUnits(TimeUnit.hour, hours);