Copyright | (c) Mo Kweon |
---|---|
License | MIT |
Maintainer | kkweon@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
It contains data models for Holiday
Documentation
YMD (Integer, Int, Int) | (Year, Month, Day) Some Holiday has a different date every year |
MD (Int, Int) | (Month, Day) Some holidays repeat every year on the same date |
Holiday
represents the date of holiday and the name of holiday.
Instances
Eq Holiday Source # | |
Show Holiday Source # | |
Generic Holiday Source # | |
Lift Holiday Source # | |
FromJSON Holiday Source # | |
type Rep Holiday Source # | |
Defined in Data.Holiday.Model type Rep Holiday = D1 (MetaData "Holiday" "Data.Holiday.Model" "korea-holidays-0.1.0.2-GynDIOMDNxOLdd8UozXNXh" False) (C1 (MetaCons "Holiday" PrefixI True) (S1 (MetaSel (Just "date") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Date) :*: (S1 (MetaSel (Just "name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "lunar") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))) |