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.
- Modules
- Data.
Date - Data.
Date. Component - Data.
Date. Component. Gen - Data.
Date. Gen - Data.
DateTime - Data.
DateTime. Gen - Data.
DateTime. Instant - Data.
DateTime. Locale - Data.
Interval - Data.
Interval. Duration - Data.
Interval. Duration. Iso - Data.
Time - Data.
Time. Component - Data.
Time. Component. Gen - Data.
Time. Duration - Data.
Time. Duration. Gen - Data.
Time. Gen