| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.DateTimeFormattingType
Documentation
data DateTimeFormattingType Source #
Describes date and time formatting
Constructors
| DateTimeFormattingTypeRelative | The time must be shown relative to the current time ([in ] X seconds, minutes, hours, days, months, years [ago]) |
| DateTimeFormattingTypeAbsolute | The date and time must be shown as absolute timestamps |
Fields
| |
Instances
| FromJSON DateTimeFormattingType Source # | |
Defined in TD.Data.DateTimeFormattingType Methods parseJSON :: Value -> Parser DateTimeFormattingType # parseJSONList :: Value -> Parser [DateTimeFormattingType] # | |
| ToJSON DateTimeFormattingType Source # | |
Defined in TD.Data.DateTimeFormattingType Methods toJSON :: DateTimeFormattingType -> Value # toEncoding :: DateTimeFormattingType -> Encoding # toJSONList :: [DateTimeFormattingType] -> Value # | |
| Show DateTimeFormattingType Source # | |
Defined in TD.Data.DateTimeFormattingType Methods showsPrec :: Int -> DateTimeFormattingType -> ShowS # show :: DateTimeFormattingType -> String # showList :: [DateTimeFormattingType] -> ShowS # | |
| Eq DateTimeFormattingType Source # | |
Defined in TD.Data.DateTimeFormattingType Methods (==) :: DateTimeFormattingType -> DateTimeFormattingType -> Bool # (/=) :: DateTimeFormattingType -> DateTimeFormattingType -> Bool # | |
| ShortShow DateTimeFormattingType Source # | |
Defined in TD.Data.DateTimeFormattingType Methods | |