is_jholiday(date)
a vector of POSIXt, numeric or character objects
TRUE if x is a public holidays in Japan, FALSE otherwise.
Holiday information refers to data published as of December 21, 2020. Future holidays are subject to change.
is_jholiday("2021-01-01")
#> [1] TRUE
is_jholiday("2018-12-23")
#> [1] TRUE
is_jholiday("2019-12-23")
#> [1] FALSE