Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Context = Context {}
- newtype DucklingTime = DucklingTime ZoneSeriesTime
- newtype Options = Options {
- withLatent :: Bool
- class ToJSON (ResolvedValue a) => Resolve a where
- type ResolvedValue a
- fromUTC :: UTCTime -> TimeZone -> ZonedTime
- toUTC :: LocalTime -> UTCTime
Documentation
newtype DucklingTime Source #
Internal time reference.
We work as if we were in UTC time and use ZoneSeriesTime
to house the info.
We convert to local time at resolution, using fromUTC
.
class ToJSON (ResolvedValue a) => Resolve a where Source #
type ResolvedValue a Source #