Skip to content
HALOWERK

Text Tools

cldr week full weeks in range

Locale week interval coverage counts complete regional weeks lying inside two inclusive civil dates. Use it when an agent needs whole-week aggregation over an arbitrary interval.

POST https://text.halowerk.com/v1/cldr-week-full-weeks-in-range

Inputs

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

Open original schema

Published input example

{
  "locale": "en-US",
  "date": "2025-12-31",
  "end": "2026-02-03"
}

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": {
        "complete": {
          "type": "integer"
        },
        "first_start": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_end": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "complete",
        "first_start",
        "last_end"
      ]
    },
    "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 →