Home › Everyday Life › Add Global Public-Holiday Reference Working Days
Add Global Public-Holiday Reference Working Days
Adds or subtracts working days using the pinned OpenHolidays nationwide public-holiday reference and CLDR weekend rule for a supported country.
When to use
You need a 2026-2028 date offset and accept the OpenHolidays nationwide-only, no-inferred-substitute-day reference semantics.
Do not use when: The task requires a direct official authority, regional/local or employer calendar, substitute-day rules, or dates outside the published coverage.
Example user requests
- Add five reference working days to 2026-10-23 in Austria.
Formula
move one Gregorian day at a time; decrement remaining only when the reference status is_working_day=true
The start date is excluded for non-zero offsets. Weekend and included nationwide public-holiday dates are skipped; substitute days are not inferred.
Inputs
| Parameter | Type | Unit | Required | Description |
|---|---|---|---|---|
start_date | date | yes | Gregorian start date in 2026-2028. | |
territory | enum: AD | AL | AT | BE | BG | BY | CH | CZ | DE | EE | ES | FR | HR | HU | IE | IT | LI | LT | LU | LV | MC | MD | MT | MX | NL | PL | PT | RO | RS | SE | SI | SK | SM | VA | ZA | yes | ISO-style alpha-2 country code supported by the pinned OpenHolidays public-holiday reference snapshot. | |
working_days | integer | working days | yes | Signed offset; the start date is excluded for non-zero offsets. Range: ≥ -1000, ≤ 1000 |
Outputs
| Output | Type | Unit | Description |
|---|---|---|---|
start_date | date | Input date. | |
result_date | date | Date reached. | |
working_days_added | integer | working days | Signed requested offset. |
calendar_days_elapsed | integer | days | Signed Gregorian difference. |
non_working_weekend_days_skipped | integer | days | Weekend dates crossed. |
public_holidays_skipped | list | Included nationwide public-holiday events crossed. | |
territory | string | Normalized uppercase country code. | |
territory_name | string | English country name from the source catalogue. | |
weekend_days | string_list | CLDR weekend convention used as the base rule. | |
holiday_names | string_list | Included nationwide public-holiday names on the date. | |
holiday_policy | string | Nationwide public events only; regional and substitute-day rules are not inferred. | |
calendar_scope | string | Weekday plus nationwide public-holiday reference. | |
calendar_profile | string | global-public-holiday-reference. | |
substitute_day_policy | string | not_inferred. | |
source_quality | string | Open public-source aggregation, not a direct national authority feed. | |
dataset_version | string | Pinned OpenHolidays snapshot version. | |
coverage_start | date | First supported date. | |
coverage_end | date | Last supported date. | |
source_commit | string | Immutable source-data repository commit. |
Example
Austria offset across National Day: {"start_date":"2026-10-23","territory":"AT","working_days":5} → {"result_date":"2026-11-02"}
GET https://tttkmbb.com/api/v1/calculate/global-public-holiday-add-working-days?start_date=2026-10-23&territory=AT&working_days=5
Machine access
- API:
GET https://tttkmbb.com/api/v1/calculate/global-public-holiday-add-working-days(query parameters) orPOSTwith a JSON body{"inputs": {...}} - Schema: https://tttkmbb.com/api/v1/calculators/global-public-holiday-add-working-days · Markdown: https://tttkmbb.com/everyday/global-public-holiday-add-working-days.md · JSON definition: https://tttkmbb.com/everyday/global-public-holiday-add-working-days.json
- MCP: server
https://tttkmbb.com/mcp, tooladd_global_public_holiday_working_days - OpenAPI operationId:
add_global_public_holiday_working_days - Freshness:
static. Authentication: none. Rate limit: fair use (see rate limits).
Sources
- OpenHolidays API public-holiday data (open_data_aggregation)
FAQ
What if the offset crosses the snapshot boundary?
The call fails with OUT_OF_RANGE rather than extrapolating.
Are substitute days inferred?
This reference package includes only nationwide public events from OpenHolidays for 2026-2028. It excludes regional/local holidays, substitute-day inference, employer, bank, exchange, school, religious and emergency closures. Verify material legal, payroll, banking or settlement decisions against the responsible authority.
Related calculators
- Global Public-Holiday Working Day Reference — Inspect the source-labelled status of one date.
- Global Working Days Between Dates — Count reference working days in a range.