# LicenseExpiry Interface
Describes when a license entitlement stops being valid.
Per key-spec rev 3 §1.3, date is kept as a calendar string rather than an epoch, and is
INCLUSIVE of its last valid day:
kind === 'usage':dateis compared against the client's LOCAL calendar date — deliberately not UTC, the date means the date, wherever the customer is.kind === 'release':dateis compared LEXICOGRAPHICALLY, as text, against the library's build date; no clock is involved.kind === 'none': the entitlement does not expire.
# Properties
# date
• date: string | null
Defined in src/license/LicenseEntitlement.ts:38 (opens new window)
ISO 'YYYY-MM-DD', or null when kind is 'none'.
# graceDays
• graceDays: number
Defined in src/license/LicenseEntitlement.ts:40 (opens new window)
# kind
• kind: "usage" | "release" | "none"
Defined in src/license/LicenseEntitlement.ts:36 (opens new window)
# noticeDays
• noticeDays: number
Defined in src/license/LicenseEntitlement.ts:39 (opens new window)