| Stability | internal |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Crypto.WebAuthn.Internal.DateOrphans
Contents
Description
This module contains orphan instances connecting different date libraries together:
- time, a commonly used library
containing the
UTCTimetype, which is a bit slow and inconvenient to use - monad-time which defines
the
MonadTimeclass which usesUTCTime. monad-time is used by the jose library to get the time - hourglass, an alternative to the time library which is nicer to use. It is used by the x509-validation library
- Data.Fixed
in
base, which is used as the underlying representation ofNominalDiffTimein thetimelibrary.
This module contains a Timeable and Time implementation for UTCTime,
and a MonadTime implementation for any ReaderT of a Timeable
Orphan instances
| Time UTCTime Source # | |
| Timeable UTCTime Source # | |
| HasResolution a => Timeable (Fixed a) Source # | |
Methods timeGetElapsedP :: Fixed a -> ElapsedP # timeGetElapsed :: Fixed a -> Elapsed # timeGetNanoSeconds :: Fixed a -> NanoSeconds # | |
| (Timeable t, Monad m) => MonadTime (ReaderT t m) Source # | |
Methods currentTime :: ReaderT t m UTCTime # | |