zoned/validate
hasDaylightSaving: Check whether a timeZone observes daylight saving time at a reference instant.isValidCalendarZonedDateTime: Return true ifvalueis a valid GMT ZonedDateTime string: a bare ISO zoned datetime (“2024-10-03T14:30:45+02:00[Africa/Johannesburg]”) or an RFC 9557 calendar-annotated one (“2024-10-03T14:30:45+02:00[Africa/Johannesburg][u-ca=hebrew]”), asTemporal.ZonedDateTime#toString()andconvertZonedToCalendarwrite it.isValidRfc2822DateTime: Return true whenvalueis a real RFC 5322 (RFC 2822) date-time: the date an emailDate:header carries, such asFri, 15 Mar 2024 14:30:00 -0400.isValidRfc3339DateTime: Return true whenvalueis a real RFC 3339 date-time: an ISO 8601 date and time that always states its UTC offset, asZor±HH:MM(RFC 3339 §5.6).isValidTimeZone: Validate whether a string is a valid time zone identifier: an IANA name or a UTC offset.isValidZonedDateTime: Validate whether a string is a valid ISO 8601 zoned datetime string.isValidZonedRange: Return true ifvalue1andvalue2form a valid zoned range — both parseable as ISO ZonedDateTime strings and the instant atvalue1is <= the instant atvalue2.
Accessibility
© 2026 NorthGuild · Licences
Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.