Bolty.Types.DateTimeWithTZOffset
(Bolty v0.0.12)
Copy Markdown
Manage a Time and its time zone offset.
This temporal types hs been added in bolt v2
Summary
Functions
Create a valid DateTimeWithTZOffset from a NaiveDateTime and offset in seconds
Convert DateTimeWithTZOffset struct into a cypher-compliant string
Types
@type t() :: %Bolty.Types.DateTimeWithTZOffset{ naive_datetime: Calendar.naive_datetime(), timezone_offset: integer() }
Functions
@spec create(Calendar.naive_datetime(), integer()) :: t()
Create a valid DateTimeWithTZOffset from a NaiveDateTime and offset in seconds
Convert DateTimeWithTZOffset struct into a cypher-compliant string