Skip to content
HALOWERK

File Formats and Conversion

civil clock shift duration alternatives

Work shift duration returns all chronologically possible elapsed minutes between two local labels. Use it when an agent needs the duration bounds of a shift with ambiguous endpoints.

POST https://format.halowerk.com/v1/civil-clock-shift-duration-alternatives

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
timezonestringYes
startstringYes
endstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "timezone": {
      "type": "string",
      "maxLength": 65,
      "minLength": 1
    },
    "start": {
      "type": "string",
      "pattern": "^ *(?:19[7-9][0-9]|20[0-3][0-9])-\\d{2}-\\d{2}T\\d{2}:\\d{2} *$"
    },
    "end": {
      "type": "string",
      "pattern": "^ *(?:19[7-9][0-9]|20[0-3][0-9])-\\d{2}-\\d{2}T\\d{2}:\\d{2} *$"
    }
  },
  "required": [
    "timezone",
    "start",
    "end"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "timezone": "Europe/Berlin",
  "start": "2026-10-25T02:40",
  "end": "2026-10-25T03:30"
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’