Skip to content
HALOWERK

Text Tools

cldr week shared week intersection

Locale week intersection returns the dates that belong to the current reporting week in both requested regions. Use it when an agent needs the comparable part of regional reporting periods.

POST https://text.halowerk.com/v1/cldr-week-shared-week-intersection

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
datestringYes
targetstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "date": {
      "type": "string",
      "maxLength": 10,
      "minLength": 1
    },
    "target": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    }
  },
  "required": [
    "locale",
    "date",
    "target"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "en-US",
  "date": "2025-12-31",
  "target": "de-DE"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string"
        },
        "end": {
          "type": "string"
        },
        "days": {
          "type": "integer"
        }
      },
      "required": [
        "start",
        "end",
        "days"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub →