Bolt.Sips v2.0.5 Bolt.Sips.Types.DateTimeWithTZOffset View Source
Manage a Time and its time zone offset.
This temporal types hs been added in bolt v2
Link to this section Summary
Functions
Create a valid DateTimeWithTZOffset from a NaiveDateTime and offset in seconds
Convert DateTimeWithTZOffset struct in a cypher-compliant string
Link to this section Types
Link to this type
t()
View Sourcet() :: %Bolt.Sips.Types.DateTimeWithTZOffset{ naive_datetime: Calendar.naive_datetime(), timezone_offset: integer() }
Link to this section Functions
Link to this function
create(naive_datetime, offset)
View Sourcecreate(Calendar.naive_datetime(), integer()) :: Bolt.Sips.Types.DateTimeWithTZOffset.t()
Create a valid DateTimeWithTZOffset from a NaiveDateTime and offset in seconds
Link to this function
format_param(param)
View Sourceformat_param(Bolt.Sips.Types.DateTimeWithTZOffset.t()) :: {:ok, String.t()} | {:error, any()}
Convert DateTimeWithTZOffset struct in a cypher-compliant string