Skip to content

instant

  • The core functions, which every industry uses.
  • classifyLocal: Report whether a zoneless local wall time is unique, ambiguous or nonexistent in a zone — before any policy resolves it.
  • fromOffsetInstant: Render an instant-plus-offset pair back to the local time it describes.
  • resolveLocal: Resolve a zoneless local wall time in a time zone and return the instant it names.
  • toOffsetInstant: Split an ISO 8601 instant string into the instant-plus-offset pair the world exchanges.
  • parseSqlOffsetDateTime: Parse SQL TIMESTAMP WITH TIME ZONE text into an ISO 8601 date-time string that keeps the offset: SQL-92’s YYYY-MM-DD HH:MM:SS±HH:MM, and the variants PostgreSQL timestamptz, SQL Server datetimeoffset and Oracle under an ISO NLS_TIMESTAMP_TZ_FORMAT print.
  • isValidSqlOffsetDateTime: Return true when value is SQL TIMESTAMP WITH TIME ZONE text: SQL-92’s YYYY-MM-DD HH:MM:SS±HH:MM, or a variant PostgreSQL timestamptz, SQL Server datetimeoffset or Oracle under an ISO NLS_TIMESTAMP_TZ_FORMAT print.
  • isValidUtcOffset: Return true when value is a UTC offset in the form the offset-instant pair stores: ISO 8601 extended ±HH:MM, optionally ±HH:MM:SS.
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.