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

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

ParameterTypeUnitRequiredDescription
start_datedateyesGregorian start date in 2026-2028.
territoryenum: 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 | ZAyesISO-style alpha-2 country code supported by the pinned OpenHolidays public-holiday reference snapshot.
working_daysintegerworking daysyesSigned offset; the start date is excluded for non-zero offsets. Range: ≥ -1000, ≤ 1000

Outputs

OutputTypeUnitDescription
start_datedateInput date.
result_datedateDate reached.
working_days_addedintegerworking daysSigned requested offset.
calendar_days_elapsedintegerdaysSigned Gregorian difference.
non_working_weekend_days_skippedintegerdaysWeekend dates crossed.
public_holidays_skippedlistIncluded nationwide public-holiday events crossed.
territorystringNormalized uppercase country code.
territory_namestringEnglish country name from the source catalogue.
weekend_daysstring_listCLDR weekend convention used as the base rule.
holiday_namesstring_listIncluded nationwide public-holiday names on the date.
holiday_policystringNationwide public events only; regional and substitute-day rules are not inferred.
calendar_scopestringWeekday plus nationwide public-holiday reference.
calendar_profilestringglobal-public-holiday-reference.
substitute_day_policystringnot_inferred.
source_qualitystringOpen public-source aggregation, not a direct national authority feed.
dataset_versionstringPinned OpenHolidays snapshot version.
coverage_startdateFirst supported date.
coverage_enddateLast supported date.
source_commitstringImmutable 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

Sources

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