Skip to content
HALOWERK

Text Tools

cldr week year boundary

Locale week year boundaries identify the dates on which the first and last weeks of a named week year begin. Use it when an agent needs regional week-year cutovers.

POST https://text.halowerk.com/v1/cldr-week-year-boundary

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
datestringNo
yearintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "date": {
      "type": "string",
      "maxLength": 10,
      "minLength": 1
    },
    "year": {
      "type": "integer",
      "minimum": 1900,
      "maximum": 2100
    }
  },
  "required": [
    "locale",
    "year"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "en-US",
  "year": 2025
}

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": {
        "first_week": {
          "type": "string"
        },
        "last_week": {
          "type": "string"
        },
        "weeks": {
          "type": "integer"
        }
      },
      "required": [
        "first_week",
        "last_week",
        "weeks"
      ]
    },
    "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 →