Methodology — Business Days API

By Vitality Press Editorial

Updated

Independent editorial team. Every numeric claim cites a primary source — IRS / agency publication, federal or state statute, or controlling case law.

Data sourcing

Every jurisdiction's holiday data comes from a primary government or exchange publication:

Observed-date logic

When a fixed-date holiday falls on a weekend, jurisdictions apply different observance rules. We encode these explicitly in our data files (not as an algorithm):

Easter-derived holidays

Good Friday, Easter Monday, Ascension, Whit Monday, and Corpus Christi (DE-BY) are computed deterministically via the anonymous Gregorian (Meeus/Jones/Butcher) algorithm.

Lunar holidays

Vesak Day, Hari Raya Puasa, Hari Raya Haji, and Deepavali (Singapore) are lunar/calendar-dependent and announced annually by Singapore's Ministry of Manpower. We seed these year-by-year from the official MOM announcement rather than computing them.

Verification

An audit script (scripts/audit-businessdays.mjs) runs against production data and verifies:

Drift is flagged and fixed before the next release. The verbatim-quote rule is non-negotiable — every quote string must be character-exact text from the cited URL, not a paraphrase.