Streamly.Internal.Data.Time.TimeSpec
Documentation
Data type to represent practically large quantities of time efficiently. It can represent time up to ~292 billion years at nanosecond resolution.
Instances
Storable TimeSpec Source # | |
Defined in Streamly.Internal.Data.Time.TimeSpec Methods sizeOf :: TimeSpec -> Int Source # alignment :: TimeSpec -> Int Source # peekElemOff :: Ptr TimeSpec -> Int -> IO TimeSpec Source # pokeElemOff :: Ptr TimeSpec -> Int -> TimeSpec -> IO () Source # peekByteOff :: Ptr b -> Int -> IO TimeSpec Source # pokeByteOff :: Ptr b -> Int -> TimeSpec -> IO () Source # | |
Num TimeSpec Source # | |
Defined in Streamly.Internal.Data.Time.TimeSpec Methods (+) :: TimeSpec -> TimeSpec -> TimeSpec Source # (-) :: TimeSpec -> TimeSpec -> TimeSpec Source # (*) :: TimeSpec -> TimeSpec -> TimeSpec Source # negate :: TimeSpec -> TimeSpec Source # abs :: TimeSpec -> TimeSpec Source # signum :: TimeSpec -> TimeSpec Source # fromInteger :: Integer -> TimeSpec Source # | |
Read TimeSpec Source # | |
Show TimeSpec Source # | |
Eq TimeSpec Source # | |
Ord TimeSpec Source # | |
Defined in Streamly.Internal.Data.Time.TimeSpec | |
TimeUnit TimeSpec Source # | |
Defined in Streamly.Internal.Data.Time.Units |