Skip to main content

Datetime

Provides timeline instants, fixed durations, local and zoned date-times, locale and time zone helpers, plus recoverable datetime errors for deterministic data product processing.

  • Library id: datetime
  • Namespace: com.dataspine.datetime
  • Version: 1
  • Crate: dataspine-datetime-runtime-library@0.1.0
  • Stability: stable
  • Since: 0.1.0

Types

  • DateTimeError — A recoverable datetime operation error.
  • Duration — A signed span of elapsed time.
  • Instant — A point on the UTC timeline.
  • LocalDateTime — A calendar date and wall-clock time without a time zone.
  • Locale — A BCP-47 locale identifier.
  • TimeZone — An IANA time zone identifier.
  • ZonedDateTime — A calendar date and time in a specific time zone.

Namespace functions