View Source Bolt.Sips.Types.DateTimeWithTZOffset (Boltx v0.0.1)
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 in a cypher-compliant string
Types
@type t() :: %Bolt.Sips.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 in a cypher-compliant string