ja_holiday

command
v0.5.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 10 Imported by: 0

README

これは何?

内閣府が公開している日本の祝日データファイル(CSV)を用いて、本日以降の祝日を出力します。

使い方

go-task がインストールされていることを前提にしています。

$ task
task: [get-holiday-csv] if ! [ -f syukujitsu.csv ]; then wget https://www8.cao.go.jp/chosei/shukujitsu/syukujitsu.csv; fi
task: [run] time go run . < ./syukujitsu.csv
2023-04-29 (昭和の日)
2023-05-03 (憲法記念日)
2023-05-04 (みどりの日)
2023-05-05 (こどもの日)
2023-07-17 (海の日)
2023-08-11 (山の日)
2023-09-18 (敬老の日)
2023-09-23 (秋分の日)
2023-10-09 (スポーツの日)
2023-11-03 (文化の日)
2023-11-23 (勤労感謝の日)
2024-01-01 (元日)
2024-01-08 (成人の日)
2024-02-11 (建国記念の日)
2024-02-12 (休日)
2024-02-23 (天皇誕生日)
2024-03-20 (春分の日)
2024-04-29 (昭和の日)
2024-05-03 (憲法記念日)
2024-05-04 (みどりの日)
2024-05-05 (こどもの日)
2024-05-06 (休日)
2024-07-15 (海の日)
2024-08-11 (山の日)
2024-08-12 (休日)
2024-09-16 (敬老の日)
2024-09-22 (秋分の日)
2024-09-23 (休日)
2024-10-14 (スポーツの日)
2024-11-03 (文化の日)
2024-11-04 (休日)
2024-11-23 (勤労感謝の日)

real    0m0.166s
user    0m0.000s
sys     0m0.000s

参考情報

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL