Skip to content

Main content

Date Range Unbounded End Token Tool

Compute date range unbounded end token from explicit bounded inputs.

Loading tool…

Description

Assemble a bounded or open date interval token.

Date labels and intervals depend on origins, endpoint inclusion and calendar versus elapsed-time conventions. Numeric serial periods and local token formats can represent useful bookkeeping without resolving a real instant or official fiscal rule.

Assemble a bounded or open date interval token.

When to use this tool

Use Date Range Unbounded End Token when checking a supplied date-label, duration or interval convention.

How to use the tool and how it works

  1. Enter start, end. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read interval, unboundedStart, unboundedEnd. Inspect unboundedStart, unboundedEnd before interpreting the associated values.

Assemble a bounded or open date interval token. Accept date-only strings or .. at either endpoint; require start <= end when both known; return start/end spelling and unbounded flags.1

Input fieldMeaning and unitsAccepted input
startStartRequired. Text; maximum UTF-16 length 8192.
endEndRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
Output fieldInterpretationReturned shape
intervalIntervalRequired. Text; maximum UTF-16 length 8192.
unboundedStartUnbounded StartRequired. Boolean.
unboundedEndUnbounded EndRequired. Boolean.
json
{
  "input": {
    "start": "..",
    "end": "2024-01-01"
  },
  "output": {
    "interval": "../2024-01-01",
    "unboundedStart": true,
    "unboundedEnd": false
  }
}

Limitations and assumptions

  • This is a local interval representation, not a complete EDTF parser or an inclusivity policy.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Use a complete date/time implementation and the applicable calendar policy for actual scheduling and interval interpretation.

References

  1. Calculation and input contract: date/date-range-unbounded-end-token — tool.io

Similar or alternative tools