# 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.

- Calculator id: `global-public-holiday-add-working-days` · Category: Everyday Life (`everyday`) · Tool name: `add_global_public_holiday_working_days`
- Canonical page: https://tttkmbb.com/everyday/global-public-holiday-add-working-days · This document: https://tttkmbb.com/everyday/global-public-holiday-add-working-days.md · JSON definition: https://tttkmbb.com/everyday/global-public-holiday-add-working-days.json

## Purpose

Adds or subtracts working days using the pinned OpenHolidays nationwide public-holiday reference and CLDR weekend rule for a supported country.

**Use when:** 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.


## Input

| Parameter | Type | Unit | Required | Description |
| --- | --- | --- | --- | --- |
| `start_date` | date |  | required | 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 |  | required | ISO-style alpha-2 country code supported by the pinned OpenHolidays public-holiday reference snapshot. |
| `working_days` | integer | working days | required | Signed offset; the start date is excluded for non-zero offsets. (min -1000, max 1000) |

## Output

| Field | 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. |

## 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.

## Data Sources

- OpenHolidays API public-holiday data — https://openholidaysapi.org/PublicHolidays (open_data_aggregation, retrieved 2026-09-29)

Data freshness: `static`. Pinned OpenHolidays 2026-2028 snapshot.

## API

- `GET https://tttkmbb.com/api/v1/calculate/global-public-holiday-add-working-days?start_date=…&territory=…&working_days=…`
- `POST https://tttkmbb.com/api/v1/calculate/global-public-holiday-add-working-days` with JSON body `{"inputs": {…}}`
- Response: unified envelope (`success`, `request`, `result.values`, `result.units`, `sources`, `freshness`, `timestamp`, `next_actions`, `links`); see https://tttkmbb.com/docs/response-format.md
- Schema: https://tttkmbb.com/api/v1/calculators/global-public-holiday-add-working-days · OpenAPI operationId `add_global_public_holiday_working_days` in https://tttkmbb.com/openapi.json
- Authentication: none. Rate limit: fair use, see https://tttkmbb.com/docs/rate-limits.md.

## MCP

- Server: `https://tttkmbb.com/mcp` (Streamable HTTP, JSON-RPC 2.0, no auth)
- Tool: `add_global_public_holiday_working_days` (dedicated) or `run_calculator` with `{"calculator_id": "global-public-holiday-add-working-days", "inputs": {…}}`

## Example

- Austria offset across National Day: inputs `{"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
```

## Limitations

The task requires a direct official authority, regional/local or employer calendar, substitute-day rules, or dates outside the published coverage. The start date is excluded for non-zero offsets. Weekend and included nationwide public-holiday dates are skipped; substitute days are not inferred. All values are computed from the formula above; no measurement or live data is involved.

## 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

- [Global Public-Holiday Working Day Reference](https://tttkmbb.com/everyday/global-public-holiday-working-day.md) — Inspect the source-labelled status of one date.
- [Global Working Days Between Dates](https://tttkmbb.com/everyday/global-working-days-between.md) — Count reference working days in a range.
