time library
Provides type-safe units for Time.
Import this file to use Time quantities and their extensions on num
(like 60.s
, 1.5.h
).
Classes
Enums
- TimeUnit
- Represents units of time.
Extensions
- TimeCreation on num
- Provides convenient factory methods for creating Time instances from num.
- TimeValueGetters on Time
- Provides convenient access to Time values in specific units.