BoltexNif.DateTime (boltex_nif v0.1.1)

View Source

A NaiveDateTime paired with a fixed UTC offset — mirrors Bolt's DateTime (not DateTimeZoneId).

Elixir's stdlib %DateTime{} requires a full time-zone database to round-trip arbitrary offsets, so we keep the naive value + offset explicit.

Summary

Types

t()

@type t() :: %BoltexNif.DateTime{naive: NaiveDateTime.t(), offset_seconds: integer()}