holidays_jp determines Japanese holiday. The definition of Japanese national holidays is based on this csv file provided by the Cabinet Office..
The holiday data is updated once a week by github action. Thereby, holiday data is included in the repository. Therefore, this tool can be used offline. If your PC is connected to the Internet, you can obtain the latest Japanese national holiday data by executing the following command.
sh
$ cargo run -- -g=true
$ cargo fmt # dont't have to do it
```sh
$ ./holidays_jp -d 20220101 20220101 is holiday(元日)
$ ./holidays_jp -d 2022/01/01 -f %Y/%m/%d 2022/01/01 is holiday(元日)
$ ./target/release/holidaysjp -h holidaysjp is determines holiday in Japan
Usage: holidays_jp [OPTIONS]
Options:
-d, --date