Skip to content
HALOWERK

Text Tools

cldr interval bidi controls

Localized date interval inspection locates directional formatting controls by Unicode code point and code-point offset in the generated label. Use it when an agent needs a bidirectional text inspection for translated date ranges.

POST https://text.halowerk.com/v1/cldr-interval-bidi-controls

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
zonestringYes
startstringYes
endstringYes
styleSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "zone": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
    },
    "start": {
      "type": "string",
      "maxLength": 32,
      "minLength": 1
    },
    "end": {
      "type": "string",
      "maxLength": 32,
      "minLength": 1
    },
    "style": {
      "enum": [
        "date",
        "time",
        "date-time"
      ]
    }
  },
  "required": [
    "locale",
    "zone",
    "start",
    "end",
    "style"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "en-GB",
  "zone": "Europe/London",
  "start": "2025-05-01T09:00:00Z",
  "end": "2025-05-03T11:40:00Z",
  "style": "date"
}

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": {
        "characters": {
          "type": "integer"
        },
        "controls": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "index": {
                "type": "integer"
              },
              "codepoint": {
                "type": "string"
              }
            },
            "required": [
              "index",
              "codepoint"
            ]
          }
        },
        "has_rtl_text": {
          "type": "boolean"
        }
      },
      "required": [
        "characters",
        "controls",
        "has_rtl_text"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →