# Global Working Day Baseline

> Checks a Gregorian date for any supported CLDR alpha-2 territory code using the pinned Unicode CLDR weekend convention, with explicit holiday exclusions and provenance.

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

## Purpose

Checks a Gregorian date for any supported CLDR alpha-2 territory code using the pinned Unicode CLDR weekend convention, with explicit holiday exclusions and provenance.

**Use when:** You need a worldwide weekday/weekend check and have a CLDR alpha-2 territory code, but do not need public-holiday exclusions.

**Do not use when:** You need public holidays, substitute holidays, employer closures, bank settlement, stock exchange, school, religious or emergency closure rules; use a jurisdiction-specific evidence package instead.

## Example user requests

- Is 2026-10-05 a working day in Australia under the territory weekend rule?
- Check whether Friday 2026-06-12 is a weekday in Saudi Arabia.
- 判断 2026-10-01 在印度按周末规则是否为工作日。


## Input

| Parameter | Type | Unit | Required | Description |
| --- | --- | --- | --- | --- |
| `date` | date |  | required | Gregorian date from 1900-01-01 through 2100-12-31. |
| `territory` | enum: AC \| AD \| AE \| AF \| AG \| AI \| AL \| AM \| AN \| AO \| AQ \| AR \| AS \| AT \| AU \| AW \| AX \| AZ \| BA \| BB \| BD \| BE \| BF \| BG \| BH \| BI \| BJ \| BL \| BM \| BN \| BO \| BQ \| BR \| BS \| BT \| BU \| BV \| BW \| BY \| BZ \| CA \| CC \| CD \| CF \| CG \| CH \| CI \| CK \| CL \| CM \| CN \| CO \| CP \| CQ \| CR \| CS \| CU \| CV \| CW \| CX \| CY \| CZ \| DD \| DE \| DG \| DJ \| DK \| DM \| DO \| DZ \| EA \| EC \| EE \| EG \| EH \| ER \| ES \| ET \| EU \| EZ \| FI \| FJ \| FK \| FM \| FO \| FR \| FX \| GA \| GB \| GD \| GE \| GF \| GG \| GH \| GI \| GL \| GM \| GN \| GP \| GQ \| GR \| GS \| GT \| GU \| GW \| GY \| HK \| HM \| HN \| HR \| HT \| HU \| ID \| IE \| IL \| IM \| IN \| IO \| IQ \| IR \| IS \| IT \| JE \| JM \| JO \| JP \| KE \| KG \| KH \| KI \| KM \| KN \| KP \| KR \| KW \| KY \| KZ \| LA \| LB \| LC \| LI \| LK \| LR \| LS \| LT \| LU \| LV \| LY \| MA \| MC \| MD \| ME \| MF \| MG \| MH \| MK \| ML \| MM \| MN \| MO \| MP \| MQ \| MR \| MS \| MT \| MU \| MV \| MW \| MX \| MY \| MZ \| NA \| NC \| NE \| NF \| NG \| NI \| NL \| NO \| NP \| NR \| NT \| NU \| NZ \| OM \| PA \| PE \| PF \| PG \| PH \| PK \| PL \| PM \| PN \| PR \| PS \| PT \| PW \| PY \| QA \| QO \| QU \| RE \| RO \| RS \| RU \| RW \| SA \| SB \| SC \| SD \| SE \| SG \| SH \| SI \| SJ \| SK \| SL \| SM \| SN \| SO \| SR \| SS \| ST \| SU \| SV \| SX \| SY \| SZ \| TA \| TC \| TD \| TF \| TG \| TH \| TJ \| TK \| TL \| TM \| TN \| TO \| TP \| TR \| TT \| TV \| TW \| TZ \| UA \| UG \| UM \| UN \| US \| UY \| UZ \| VA \| VC \| VE \| VG \| VI \| VN \| VU \| WF \| WS \| XK \| YD \| YE \| YT \| YU \| ZA \| ZM \| ZR \| ZW |  | required | CLDR territory code in alpha-2 form. The complete accepted-code enum is exposed here; it includes ISO-style territory codes plus CLDR regional and legacy codes where present. |

## Output

| Field | Type | Unit | Description |
| --- | --- | --- | --- |
| `date` | date |  | Checked Gregorian date. |
| `territory` | string |  | Normalized uppercase CLDR territory code. |
| `territory_display_name` | string |  | Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW. |
| `weekday` | string |  | Gregorian weekday. |
| `is_working_day` | boolean |  | True when the date is not in the territory's CLDR weekend range. |
| `weekend_days` | string_list |  | Territory weekend convention from CLDR. |
| `calendar_scope` | string |  | weekday_pattern_only; public holidays are intentionally not included. |
| `holiday_policy` | string |  | public_holidays_not_included for this global baseline. |
| `calendar_profile` | string |  | Machine-readable profile id: global-weekday-baseline. |
| `calendar_selection_catalog_url` | string |  | Use this catalog before selecting a jurisdiction-specific holiday package. |
| `dataset_version` | string |  | Pinned CLDR weekend-data version. |
| `source_url` | string |  | Pinned CLDR JSON source. |

## Formula

`is_working_day = weekday(date) not in CLDR(territory).weekendStart..weekendEnd`

Resolve the Gregorian weekday, expand CLDR's territory weekendStart/weekendEnd range, and classify every other day as a regular weekday. No public-holiday inference is made.

## Data Sources

- Unicode CLDR 48.2 supplemental weekData.json — https://raw.githubusercontent.com/unicode-org/cldr-json/bb334e8d6250c9363e957e131bf7e6d08ec72f91/cldr-json/cldr-core/supplemental/weekData.json (standards)

Data freshness: `static`. Pinned CLDR 48.2 weekend conventions; upgrade only after an explicit data review.

## API

- `GET https://tttkmbb.com/api/v1/calculate/global-working-day?date=…&territory=…`
- `POST https://tttkmbb.com/api/v1/calculate/global-working-day` 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-working-day · OpenAPI operationId `check_global_working_day` 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: `check_global_working_day` (dedicated) or `run_calculator` with `{"calculator_id": "global-working-day", "inputs": {…}}`

## Example

- Australia Monday baseline: inputs `{"date":"2026-10-05","territory":"AU"}` → `{"is_working_day":true,"weekend_days":["Saturday","Sunday"]}`

```
GET https://tttkmbb.com/api/v1/calculate/global-working-day?date=2026-10-05&territory=AU
```

## Limitations

You need public holidays, substitute holidays, employer closures, bank settlement, stock exchange, school, religious or emergency closure rules; use a jurisdiction-specific evidence package instead. Resolve the Gregorian weekday, expand CLDR's territory weekendStart/weekendEnd range, and classify every other day as a regular weekday. No public-holiday inference is made. All values are computed from the formula above; no measurement or live data is involved.

## FAQ

**Does this include public holidays?**

This is a global weekday baseline, not a public-holiday, bank-settlement, exchange, school, employer, religious or emergency-closure calendar. Use a jurisdiction-specific evidence package when holiday exclusions matter.

**Why is this useful if holidays are excluded?**

It gives a complete, deterministic worldwide weekday baseline without silently treating a country-specific holiday policy as universal.

## Related

- [Add Global Working Days](https://tttkmbb.com/everyday/global-add-working-days.md) — Add or subtract weekday-baseline working days.
- [Global Working Days Between Dates](https://tttkmbb.com/everyday/global-working-days-between.md) — Count weekday-baseline working days over a range.
- [Mainland China Working Day Checker](https://tttkmbb.com/everyday/china-working-day.md) — Use official China holidays and 调休 when those exclusions matter.
