relevant-time-0.1.1.0: humanised relevant time

Safe HaskellNone
LanguageHaskell2010

Data.RelevantTime

Documentation

data RelevantTime Source #

Instances
Eq RelevantTime Source # 
Instance details

Defined in Data.RelevantTime

Ord RelevantTime Source # 
Instance details

Defined in Data.RelevantTime

Show RelevantTime Source # 
Instance details

Defined in Data.RelevantTime

Generic RelevantTime Source # 
Instance details

Defined in Data.RelevantTime

Associated Types

type Rep RelevantTime :: Type -> Type #

ToJSON RelevantTime Source # 
Instance details

Defined in Data.RelevantTime

FromJSON RelevantTime Source # 
Instance details

Defined in Data.RelevantTime

type Rep RelevantTime Source # 
Instance details

Defined in Data.RelevantTime

type Rep RelevantTime = D1 (MetaData "RelevantTime" "Data.RelevantTime" "relevant-time-0.1.1.0-LSyy1iCbGW6CrXJXUB92mZ" False) ((C1 (MetaCons "RelevantTimeMinute" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) SourceUnpack SourceStrict DecidedStrict) (Rec0 Int64)) :+: (C1 (MetaCons "RelevantTimeHour" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) SourceUnpack SourceStrict DecidedStrict) (Rec0 Int64)) :+: C1 (MetaCons "RelevantTimeDay" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) SourceUnpack SourceStrict DecidedStrict) (Rec0 Int64)))) :+: (C1 (MetaCons "RelevantTimeNow" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "RelevantTimeMidnight" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "RelevantTimeNoon" PrefixI False) (U1 :: Type -> Type))))