@hackage korea-holidays0.1.0.2

Korea Holidays

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