Description
Check quotedYear inclusively against the interval and return its width and a serialized source key.
Archival records often contain bounded dates, editions, and source identifiers. Arithmetic on supplied coordinates can check consistency while leaving historical interpretation and authenticity unresolved.
Check quotedYear inclusively against the interval and return its width and a serialized source key.
When to use this tool
Use Naturopathy Historical Source Edition Date when you need a precise date-span or source-record bookkeeping step.
How to use the tool and how it works
- Enter sourceId, edition, earliestYear, latestYear, quotedYear. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read insideDating, dateWidth, key. Inspect insideDating before interpreting the associated values.
Require an ordered year interval and nonempty sourceId and edition. Check quotedYear inclusively against the interval and return its width and a serialized source key.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| sourceId | Source Id | Required. Text; maximum UTF-16 length 8192. |
| edition | Edition | Required. Text; maximum UTF-16 length 8192. |
| earliestYear | Earliest Year | Required. Safe integer. |
| latestYear | Latest Year | Required. Safe integer. |
| quotedYear | Quoted Year | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| insideDating | Inside Dating | Required. Boolean. |
| dateWidth | Date Width | Required. Safe integer. |
| key | JSON-array serialization of the stated identifying fields, preserving exact strings. | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"sourceId": "doc-A",
"edition": "2",
"earliestYear": 1800,
"latestYear": 1810,
"quotedYear": 1805
},
"output": {
"insideDating": true,
"dateWidth": 10,
"key": "[\"doc-A\",\"2\",1800,1810]"
}
} Limitations and assumptions
- This compares supplied dates only; authenticity, dating uncertainty, and quotation accuracy are not established.
- 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
- Claim Source Publication Age
Choose suppliedRevisionYear when useRevision is true, otherwise sourcePublicationYear.
- Historical Recipe Quote Fraction
Divide only when sourceKnown is true; otherwise return fraction zero and fractionDefined false.