Description
Parse noticeDate and add integer noticeDays in 0-100000 using UTC date arithmetic.
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 noticeDate and add integer noticeDays in 0-100000 using UTC date arithmetic.
When to use this tool
Use Treaty Notice Effective Offset when you need a source-record chronology or party-count check.
How to use the tool and how it works
- Enter noticeDate, noticeDays. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read effectiveDate. Use the output convention below.
Parse noticeDate and add integer noticeDays in 0-100000 using UTC date arithmetic. Reject results beyond year 9999 and return effectiveDate.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| noticeDate | Notice Date | Required. Text; maximum UTF-16 length 8192. |
| noticeDays | Notice Days | Required. Safe integer; minimum 0; maximum 100000. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| effectiveDate | Effective Date | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"noticeDate": "2026-10-01",
"noticeDays": 30
},
"output": {
"effectiveDate": "2026-10-31"
}
} Limitations and assumptions
- Notice rules and duration are supplied; legal effectiveness, valid service, business-day exceptions, and treaty terms 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 authoritative instrument, depositary records, and qualified legal interpretation for actual status or obligations.
References
Similar or alternative tools
- Regulation Clause Effective Date
Mark effectiveByDate when asOf is on or after the supplied effective date.
- Security Record Retention Date
Parse recordDate as a real YYYY-MM-DD date, add retentionDays in 0-100000 using UTC calendar arithmetic, and require output no later than year 9999.