Module
Data.Time.Duration
- Package
- purescript-datetime
- Repository
- purescript/purescript-datetime
#Milliseconds Source
#Duration Source
class Duration a where
A class for enabling conversions between duration types.
Members
fromDuration :: a -> Milliseconds
toDuration :: Milliseconds -> a
Instances
#convertDuration Source
convertDuration :: forall b a. Duration a => Duration b => a -> b
Converts directly between durations of differing types.