flagday is library for public holidays in Japan.
- 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
$ go get github.com/pinzolo/flagday
- Fork (https://github.com/pinzolo/flagday/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request