Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
daysAgoToDays :: DaysAgo -> Integer Source #
DaysAgo | |
|
Instances
Eq DaysAgo Source # | |
Show DaysAgo Source # | |
Generic DaysAgo Source # | |
Validity DaysAgo Source # | |
Defined in Text.Time.Pretty.TimeAgo validate :: DaysAgo -> Validation # | |
type Rep DaysAgo Source # | |
Defined in Text.Time.Pretty.TimeAgo type Rep DaysAgo = D1 ('MetaData "DaysAgo" "Text.Time.Pretty.TimeAgo" "pretty-relative-time-0.3.0.0-GryKipa7fbpIc5GP7KFtxY" 'False) (C1 ('MetaCons "DaysAgo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "daysAgoSign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ordering) :*: S1 ('MetaSel ('Just "daysAgoYears") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "daysAgoMonths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "daysAgoWeeks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "daysAgoDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))))) |
timeAgo :: NominalDiffTime -> TimeAgo Source #