Skip to content

boiledorange73/hdayjp.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hdayjp.js
=========
1948年以後の祝日等を計算するJavaScriptライブラリです。

var result;
result = hdayjp.calculate(y, m);

で、指定した年月の祝日等計算結果の配列を計算します。
y - 西暦年
m - 月 (0はじまりで、1月ならm=0, 12月ならm=11)

result = hdayjp.calculate(y, m, true);

とすることで、年末年始(12月29日から1月3日まで)も計算します。

計算結果は次のプロパティを含みます。
md - 日
getText(lc) - 祝日等名(lcは"ja","ja_kana"または"C"が有効です)

test.html, caljp.html を参考にしてください。
(http://boiledorange73.github.io/hdayjp.js/ から閲覧できます)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published