Description
Validate ordered bounded integer years.
Archival records often contain bounded dates, editions, and source identifiers. Arithmetic on supplied coordinates can check consistency while leaving historical interpretation and authenticity unresolved.
Validate ordered bounded integer years.
When to use this tool
Use Source Date Not Before Not After Pair when you need a precise date-span or source-record bookkeeping step.
How to use the tool and how it works
- Enter notBeforeYear, notAfterYear. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read intervalLabel, widthYears. Use the output convention below.
Validate ordered bounded integer years. Display their bracketed interval and return notAfterYear minus notBeforeYear for widthYears.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| notBeforeYear | Not Before Year | Required. Safe integer; minimum -100000; maximum 100000. |
| notAfterYear | Not After Year | Required. Safe integer; maximum 100000. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| intervalLabel | Interval Label | Required. Text; maximum UTF-16 length 8192. |
| widthYears | Width Years | Required. Safe integer. |
{
"input": {
"notBeforeYear": 1450,
"notAfterYear": 1475
},
"output": {
"intervalLabel": "[1450, 1475]",
"widthYears": 25
}
} Limitations and assumptions
- The label includes both endpoints but width is coordinate difference, not an inclusive year count; historical calendars and absence of year zero are not interpreted.
- 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.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Consult the original catalog and documented calendar or dating convention when historical interpretation matters.
References
Similar or alternative tools
- Catalogue Circa Date Interval Field
Validate bounded integer centralYear and nonnegative earlier/later tolerances.
- Historical Event Date Precision Token
Quote date text and append its declared precision.