[{"data":1,"prerenderedAt":307,"buildId":308},["ShallowReactive",2],{"navigation-en":3,"page-\u002Fdocs\u002Fcontributing":38,"surround-\u002Fdocs\u002Fcontributing":302},[4],{"title":5,"path":6,"stem":7,"children":8,"page":37},"Docs","\u002Fdocs","docs",[9,13,17,21,25,29,33],{"title":10,"path":11,"stem":12},"Getting started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",{"title":14,"path":15,"stem":16},"Usage","\u002Fdocs\u002Fusage","docs\u002F2.usage",{"title":18,"path":19,"stem":20},"API reference","\u002Fdocs\u002Fapi","docs\u002F3.api",{"title":22,"path":23,"stem":24},"Holiday object","\u002Fdocs\u002Fholiday-object","docs\u002F4.holiday-object",{"title":26,"path":27,"stem":28},"Data and license","\u002Fdocs\u002Fdata-and-license","docs\u002F5.data-and-license",{"title":30,"path":31,"stem":32},"Updating data and contributing","\u002Fdocs\u002Fcontributing","docs\u002F6.contributing",{"title":34,"path":35,"stem":36},"Acknowledgements","\u002Fdocs\u002Facknowledgements","docs\u002F7.acknowledgements",false,{"id":39,"title":30,"body":40,"description":296,"extension":297,"meta":298,"navigation":299,"path":31,"seo":300,"stem":32,"__hash__":301},"docs_en\u002Fdocs\u002F6.contributing.md",{"type":41,"value":42,"toc":289},"minimark",[43,48,52,56,59,94,101,105,214,218,230,261,265,276,285],[44,45,47],"h2",{"id":46},"automatic-updates","Automatic updates",[49,50,51],"p",{},"A weekly GitHub Actions job compares the official CSV with the bundled copy.\nIf the CSV has changed, the job regenerates the data, runs the verification\nworkflow, and opens a pull request when verification passes. Package\npublication is a separate, manual release task.",[44,53,55],{"id":54},"update-the-data-locally","Update the data locally",[49,57,58],{},"Never edit the bundled data by hand. Regenerate it with the update script:",[60,61,66],"pre",{"className":62,"code":63,"language":64,"meta":65,"style":65},"language-bash shiki shiki-themes material-theme-lighter github-light github-dark","python3 scripts\u002Fupdate-holidays.py\npython3 scripts\u002Fupdate-holidays.py --check\n","bash","",[67,68,69,82],"code",{"__ignoreMap":65},[70,71,74,78],"span",{"class":72,"line":73},"line",1,[70,75,77],{"class":76},"sbgvK","python3",[70,79,81],{"class":80},"s_sjI"," scripts\u002Fupdate-holidays.py\n",[70,83,85,87,90],{"class":72,"line":84},2,[70,86,77],{"class":76},[70,88,89],{"class":80}," scripts\u002Fupdate-holidays.py",[70,91,93],{"class":92},"stzsN"," --check\n",[49,95,96,97,100],{},"Use ",[67,98,99],{},"--csv path\u002Fto\u002Fsyukujitsu.csv"," to normalize an official CSV you have\nalready downloaded. The script records the file's modification time as the\nretrieval time of the new snapshot.",[44,102,104],{"id":103},"run-the-tests","Run the tests",[60,106,108],{"className":62,"code":107,"language":64,"meta":65,"style":65},"python3 -m unittest discover -s tests\nmvn -f packages\u002Fjava\u002Fpom.xml verify\n(cd packages\u002Fnode && npm ci && npm run typecheck && npm test)\nPYTHONPATH=packages\u002Fpython\u002Fsrc python3 -m unittest discover -s packages\u002Fpython\u002Ftests\n",[67,109,110,129,143,186],{"__ignoreMap":65},[70,111,112,114,117,120,123,126],{"class":72,"line":73},[70,113,77],{"class":76},[70,115,116],{"class":92}," -m",[70,118,119],{"class":80}," unittest",[70,121,122],{"class":80}," discover",[70,124,125],{"class":92}," -s",[70,127,128],{"class":80}," tests\n",[70,130,131,134,137,140],{"class":72,"line":84},[70,132,133],{"class":76},"mvn",[70,135,136],{"class":92}," -f",[70,138,139],{"class":80}," packages\u002Fjava\u002Fpom.xml",[70,141,142],{"class":80}," verify\n",[70,144,146,150,154,157,160,163,166,168,170,173,176,178,180,183],{"class":72,"line":145},3,[70,147,149],{"class":148},"sP7_E","(",[70,151,153],{"class":152},"sptTA","cd",[70,155,156],{"class":80}," packages\u002Fnode",[70,158,159],{"class":148}," &&",[70,161,162],{"class":76}," npm",[70,164,165],{"class":80}," ci",[70,167,159],{"class":148},[70,169,162],{"class":76},[70,171,172],{"class":80}," run",[70,174,175],{"class":80}," typecheck",[70,177,159],{"class":148},[70,179,162],{"class":76},[70,181,182],{"class":80}," test",[70,184,185],{"class":148},")\n",[70,187,189,193,197,200,203,205,207,209,211],{"class":72,"line":188},4,[70,190,192],{"class":191},"su5hD","PYTHONPATH",[70,194,196],{"class":195},"smGrS","=",[70,198,199],{"class":80},"packages\u002Fpython\u002Fsrc",[70,201,202],{"class":76}," python3",[70,204,116],{"class":92},[70,206,119],{"class":80},[70,208,122],{"class":80},[70,210,125],{"class":92},[70,212,213],{"class":80}," packages\u002Fpython\u002Ftests\n",[44,215,217],{"id":216},"compare-the-three-languages","Compare the three languages",[60,219,221],{"className":62,"code":220,"language":64,"meta":65,"style":65},"python3 scripts\u002Ftry-holidays.py\n",[67,222,223],{"__ignoreMap":65},[70,224,225,227],{"class":72,"line":73},[70,226,77],{"class":76},[70,228,229],{"class":80}," scripts\u002Ftry-holidays.py\n",[49,231,232,233,236,237,240,241,244,245,248,249,252,253,256,257,260],{},"The interactive runner sends the same input to Java, TypeScript, and Python.\nIt requires JDK 8+, Node.js 22+, npm, and Python 3.9+. Try ",[67,234,235],{},"year 2026",",\n",[67,238,239],{},"month 2026 5 desc",", ",[67,242,243],{},"day 2026 11 23",", or ",[67,246,247],{},"is 2026 11 23",". Type ",[67,250,251],{},"help","\nfor the syntax and ",[67,254,255],{},"quit"," to exit. To run one query, pass it as arguments:\n",[67,258,259],{},"python3 scripts\u002Ftry-holidays.py month 2026 5 desc",".",[44,262,264],{"id":263},"submit-changes","Submit changes",[49,266,267,268,275],{},"Submit changes with relevant tests. Put shared holiday behavior cases in\n",[269,270,274],"a",{"href":271,"rel":272},"https:\u002F\u002Fgithub.com\u002Fkurashina-design\u002Fjapan-holidays\u002Ftree\u002Fmain\u002Ftests\u002Ffixtures",[273],"nofollow","tests\u002Ffixtures",",\nand regenerate the bundled files through the update script. Update the English\nand Japanese documentation together.",[49,277,278,279,284],{},"See the ",[269,280,283],{"href":281,"rel":282},"https:\u002F\u002Fgithub.com\u002Fkurashina-design\u002Fjapan-holidays\u002Fblob\u002Fmain\u002FCONTRIBUTING.md",[273],"contributing guide"," for the full rules,\nincluding the license terms for contributions: by submitting a contribution,\nyou agree to provide it under the MIT License.",[286,287,288],"style",{},"html pre.shiki code .sbgvK, html code.shiki .sbgvK{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .stzsN, html code.shiki .stzsN{--shiki-light:#91B859;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sP7_E, html code.shiki .sP7_E{--shiki-light:#39ADB5;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sptTA, html code.shiki .sptTA{--shiki-light:#6182B8;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .smGrS, html code.shiki .smGrS{--shiki-light:#39ADB5;--shiki-default:#D73A49;--shiki-dark:#F97583}",{"title":65,"searchDepth":84,"depth":84,"links":290},[291,292,293,294,295],{"id":46,"depth":84,"text":47},{"id":54,"depth":84,"text":55},{"id":103,"depth":84,"text":104},{"id":216,"depth":84,"text":217},{"id":263,"depth":84,"text":264},"How the data is kept up to date, and how to run the tests locally.","md",{},true,{"title":30,"description":296},"VyOcz0KjG7bNcQy09p_8XrjbxcqwKf2YcV6LgM-tLW8",[303,305],{"title":26,"path":27,"stem":28,"description":304,"children":-1},"Where the holiday data comes from, what it covers, and the terms that apply.",{"title":34,"path":35,"stem":36,"description":306,"children":-1},"The data and open-source projects that Japan Holidays and this website rely on.",1795845267846,"fdcaebf7-02c8-43ab-98c0-e152c5388353"]