korea-holidays: Korea Holidays

[ library, mit, time ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/kkweon/korea-holidays#readme


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4
Change log ChangeLog.md
Dependencies aeson, base (>=4.7 && <5), monad-extras, split, template-haskell, yaml [details]
License MIT
Copyright 2019 Kyung Mo Kweon
Author Kyung Mo Kweon
Maintainer kkweon@gmail.com
Category Time
Home page https://github.com/githubuser/korea-holidays#readme
Bug tracker https://github.com/githubuser/korea-holidays/issues
Source repo head: git clone https://github.com/githubuser/korea-holidays
Uploaded by kkweon at Thu Jul 4 07:02:25 UTC 2019
Distributions NixOS:0.1.0.4
Downloads 389 total (135 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-07-04 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for korea-holidays-0.1.0.2

[back to package description]

korea-holidays

Build Status Hackage-Deps Hackage

korea-holidays is a Haskell library to check if a given date is a Korean Holiday.

Usage

Korea.getHoliday 2000 1 1 `shouldBe`
      Just
        Holiday
          {date = KM.MD (1, 1), name = "New Year's Day", lunar = Nothing}

Korea.getHoliday 2019 3 1 `shouldBe`
      Just
        Holiday
          {date = KM.MD (3, 1), name = "March 1 Movement Day", lunar = Nothing}

Add to your dependency

In your package.yaml

dependencies:
- korea-holidays