Description
Parse strict real YYYY-MM-DD dates at UTC midnight.
Treaty and diplomatic records contain dates, party categories, and explicitly defined term boundaries. Arithmetic can check chronology and counts without determining the legal effect of an instrument.
Parse strict real YYYY-MM-DD dates at UTC midnight.
When to use this tool
Use Treaty Party Date Order Flag when you need a source-record chronology or party-count check.
How to use the tool and how it works
- Enter signatureDate, ratificationDate, entryDate. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read signatureToRatificationDays, ratificationToEntryDays, chronological. Inspect chronological before interpreting the associated values.
Parse strict real YYYY-MM-DD dates at UTC midnight. Return signature-to-ratification and ratification-to-entry day gaps and require their chronological order for chronological.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| signatureDate | Signature Date | Required. Text; maximum UTF-16 length 8192. |
| ratificationDate | Ratification Date | Required. Text; maximum UTF-16 length 8192. |
| entryDate | Entry Date | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| signatureToRatificationDays | Signature To Ratification Days | Required. Safe integer. |
| ratificationToEntryDays | Ratification To Entry Days | Required. Safe integer. |
| chronological | Chronological | Required. Boolean. |
{
"input": {
"signatureDate": "2024-01-01",
"ratificationDate": "2024-01-03",
"entryDate": "2024-01-08"
},
"output": {
"signatureToRatificationDays": 2,
"ratificationToEntryDays": 5,
"chronological": true
}
} Limitations and assumptions
- Signed gaps are diagnostic output; the tool does not verify party status, legal instruments, or actual entry into force.
- 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
Consult the authoritative instrument, depositary records, and qualified legal interpretation for actual status or obligations.
References
Similar or alternative tools
- Treaty Signature Ratification Order
Subtract signatureCoordinate from ratificationCoordinate and mark inOrder when the latter is no earlier.
- Diplomatic Tenure Overlap Days
Parse and order two strict Gregorian date intervals with exclusive ends.