This function is to calculate public holidays in Japan for given year.
A integer value, formatted as YYYY. A year should be in anno Domini, and in and after 1949. Only single value is accepted.
logical. If FALSE, names of holiday are suppressed. The default value is TRUE.
A date value or vector of dates
jholiday returns Japanese public holidays
of given year according to the Public Holiday Law of 1948. All legal
reforms have so far been followed, but users should be careful about
holidays in the future because of possible change in law. The function
is.jholiday answers to whether or not given date is holiday.
jholiday returns an object of
Date class with or without holiday
names. The function
is.jholiday returns a logical vector.
There are several other R functions to calculate holidays, including public
holiday in Japan; however, none of functions works correctly due to very
complicated holiday system in Japan, especially the Happy Monday System
and the citizens' holiday rule. Only
jholiday may work
correctly. In case you get wrong results by the function
jholiday, please report to the author.
Susumu Tanimura [email protected]
Public Holiday Law http://www8.cao.go.jp/chosei/shukujitsu/gaiyou.html
Ephemeris Computation Workshop (1991) Sinkoyomi-benricho, Koseisha Koseikaku: Tokyo, 1991, ISBN:9784769907008.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.