Skip to content

flagday is library for public holidays in Japan.

License

Notifications You must be signed in to change notification settings

pinzolo/flagday

Repository files navigation

flagday

Test Coverage Status Go Report Card Godoc license

Description

flagday is library for public holidays in Japan.

Specification

  • It is in compliance with the law concerning national holidays.
  • Compatible holidays after 20th July 1948.
  • flagday does not use data file, basically it can be used without updating except for the following conditions.
    • Increase and decrease of holidays and migration due to revision of law
    • Equinox days in the distant future (after 2100)
    • Deviation of equinox due to crustal deformation
    • Holidays of Imperial related condolences and auspicious event

Install

$ go get github.com/pinzolo/flagday

Contribution

  1. Fork (https://github.com/pinzolo/flagday/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

pinzolo