Skip to content

flagday is library for public holidays in Japan.

License

Notifications You must be signed in to change notification settings

pinzolo/flagday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8a2a919 · Nov 12, 2024

History

63 Commits
Mar 2, 2022
Dec 14, 2018
Sep 1, 2020
Nov 22, 2017
Mar 2, 2022
Mar 2, 2022
Jun 29, 2020
Sep 1, 2020
Jun 29, 2020
Jun 29, 2020
Jun 29, 2020
Nov 12, 2024
Jan 25, 2023
Jun 29, 2020
Jun 29, 2020
Jun 29, 2020
Jun 29, 2020
Nov 24, 2017
Jun 29, 2020
Jun 29, 2020

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