Skip to content

Main content

Policy Sunset Notice Date Tool

Subtract an explicit calendar-day notice interval from a supplied sunset date; no legal notice rule or delivery presumption.

Loading tool…

Description

Parse sunsetDate and subtract noticeDays in 0-100000 using UTC calendar arithmetic.

Policy indicators relate supplied targets, dates, categories, and measured quantities. A computed gap or formatted label can describe a record without establishing policy effectiveness or a causal explanation.

Parse sunsetDate and subtract noticeDays in 0-100000 using UTC calendar arithmetic.

When to use this tool

Use Policy Sunset Notice Date when you need one policy-monitoring component with the numerator, denominator, and time basis made explicit.

How to use the tool and how it works

  1. Enter sunsetDate, noticeDays. 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 noticeDate. Use the output convention below.

Parse sunsetDate and subtract noticeDays in 0-100000 using UTC calendar arithmetic. Require the resulting Gregorian year at least zero and return noticeDate.1

Input fieldMeaning and unitsAccepted input
sunsetDateSunset DateRequired. Text; maximum UTF-16 length 8192.
noticeDaysNotice DaysRequired. Safe integer; minimum 0; maximum 100000.
Output fieldInterpretationReturned shape
noticeDateNotice DateRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "sunsetDate": "2026-12-31",
    "noticeDays": 30
  },
  "output": {
    "noticeDate": "2026-12-01"
  }
}

Limitations and assumptions

  • The notice interval is supplied; business-day exceptions, service requirements, and actual legal notice obligations are not inferred.
  • 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

Review the source data, full policy definition, and relevant evaluation method before interpreting the indicator.

References

  1. Calculation and input contract: public-policy/policy-sunset-notice-date — tool.io

Similar or alternative tools