Trust & Governance

Data Sources & Methodology

Last Updated:

HolsDB is engineered as an operational calendar database—not a scraped date list. This page documents our data sources, source-precedence hierarchy, weekend rollover logic, market closure rules, and update schedule.

1. Source Hierarchy & Precedence

When multiple sources cover the same country and date, HolsDB enforces a strict trust hierarchy so higher-authority official records are never overwritten by downstream aggregators:

PrioritySource TypeCoverage & Protection Rule
1 (Highest)Editorial / Official Gazettes (manual)Ad-hoc national proclamations, royal/state holidays, and statutory amendments verified directly from government notices. Protected from automated overwrite.
2GOV.UK Official Bank Holidays (gov_uk)Direct ingestion from gov.uk/bank-holidays.json covering England & Wales, Scotland (GB-SCT), and Northern Ireland (GB-NIR). Protected from aggregator overwrite.
3Lunar & Astronomical Baselines (holsdb_lunar)Structured Islamic, Hindu, and lunar-solar observances across markets such as Indonesia, Singapore, UAE, Saudi Arabia, India, and the Philippines, flagged tentative until locally confirmed.
4Nager.Date v4 & Statutory Baselines (nager_v4 / holsdb-builtin)Automated Nager.Date v4 API coverage across 120+ countries, paired with HolsDB’s verified statutory baseline for jurisdictions outside Nager.Date coverage.

2. Observed-Date Rollover & Workweek Logic

Every holiday record in HolsDB separates the calendar/statutory date (holiday_date) from the effective observed workday off (observed_date). Because weekend substitution varies by jurisdiction, our sync and calculation engines apply country-specific statutory rules:

  • Nearest Weekday (e.g., United States): Federal holidays falling on Saturday are observed on the preceding Friday; holidays falling on Sunday are observed on the following Monday.
  • Mondayization (e.g., United Kingdom, Canada, Australia, New Zealand, Ireland): Weekend public holidays roll forward to the next available Monday—including paired Monday/Tuesday rollovers when Christmas Day (Dec 25) and Boxing Day (Dec 26) fall over a weekend.
  • Sunday-to-Monday Shift (e.g., Japan, Singapore): Statutory holidays landing on Sunday roll forward to Monday, while Saturday holidays remain on Saturday without an extra substitute weekday.
  • No Weekend Substitution (e.g., Germany, France, Spain, Italy, Netherlands, Switzerland, Brazil): Fixed-date holidays remain on their calendar date even when they fall on Saturday or Sunday.

In addition, HolsDB models non-Western workweeks explicitly—for example, Saudi Arabia (SA) uses a Sunday–Thursday workweek (Friday/Saturday weekend), which our Cross-Border Team Holiday Overlap Checker and Business Days Calculator factor into every workday count.

3. Regional & Subdivision Granularity

National holiday lists routinely over- or under-count closures in federal and devolved countries. HolsDB tags regional holidays with standardized ISO 3166-2 subdivision codes (such as DE-BY, GB-SCT, GB-NIR, CA-ON, CA-QC, AU-NSW, AU-VIC, and CH-ZH) so you can filter strictly by national holidays or include regional observances in our calculators and Custom .ics Calendar Builder.

4. Bank, Payment Rail & Market Closures

Civil public holidays and financial market closures are not identical. HolsDB maintains a dedicated Bank & Market Closures table indexed by ISO 10383 Market Identifier Codes (MIC) and clearing rail identifiers (including XNYS, XNAS, XLON, XETR, XTKS, XSES, FEDWIRE, and TARGET2/SEPA).

  • Full Closures vs. Early-Close Sessions: Markets record both full non-trading/non-settlement days and shortened half-day sessions (such as US equity 13:00 ET early closes).
  • Configurable Settlement Logic: In the Business Days & Settlement Date Calculator and Custom .ics Calendar Builder, you can choose whether early-close sessions count as full business days or exclusions.

5. Tentative Lunar & Religious Dates

Islamic (Hijri) holidays—such as Eid al-Fitr, Eid al-Adha, Arafat Day, Islamic New Year, and Mawlid—as well as certain lunisolar observances depend on official moon-sighting declarations and can shift by ±1 day from astronomical projections. HolsDB flags these records as tentative in our database, interactive tables, and .ics event summaries until confirmed by local authorities.

6. Update Cadence & Architecture

  • Weekly Automated Background Sync: A chunked background pipeline refreshes a rolling 3-year window (current year + next 2 years), reconciles GOV.UK bank holidays and lunar overrides, and flushes application caches automatically.
  • Zero External Calls on Page Load: All public pages, REST endpoints, and interactive tools read exclusively from HolsDB’s local indexed MySQL database for consistent sub-second responses.
  • Standards-Compliant Exports: Calendar downloads follow RFC 5545 (text/calendar) with deterministic UIDs and configurable TRANSP (Free/Busy) and VALARM reminders.

Disclaimer & Corrections

HolsDB is provided for operational planning, scheduling, and informational reference. For mission-critical wire cutoffs, securities settlement, or statutory legal deadlines, always verify directly with the relevant central bank, exchange notice, or local counsel. Spotted a newly proclaimed holiday or schedule change? Submit a correction on our Contact Us page.

Questions about this policy or our data standards? Reach our team via Contact Us or submit a calendar update via Report a Correction.