Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
A day of week type. Integer representations are not used in the API, but are provided for convenience and will not change.
Documentation
Day of week representation used in the API.
Instances
FromJSON DayOfWeek Source # | |
ToJSON DayOfWeek Source # | |
Defined in Hercules.API.DayOfWeek | |
Generic DayOfWeek Source # | |
Show DayOfWeek Source # | |
NFData DayOfWeek Source # | |
Defined in Hercules.API.DayOfWeek | |
Eq DayOfWeek Source # | |
ToSchema DayOfWeek Source # | |
Defined in Hercules.API.DayOfWeek | |
ToSchema DayOfWeek Source # | |
Defined in Hercules.API.DayOfWeek | |
type Rep DayOfWeek Source # | |
Defined in Hercules.API.DayOfWeek type Rep DayOfWeek = D1 ('MetaData "DayOfWeek" "Hercules.API.DayOfWeek" "hercules-ci-api-core-0.1.6.0-inplace" 'False) ((C1 ('MetaCons "Mon" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Tue" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Wed" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Thu" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Fri" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Sat" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Sun" 'PrefixI 'False) (U1 :: Type -> Type)))) |