Bolt.Sips v1.2.1-rc2 Bolt.Sips.Types.TimeWithTZOffset 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 TimeWithTZOffset from a Time and offset in seconds

Convert TimeWithTZOffset struct in a cypher-compliant string

Link to this section Types

Link to this type

t() View Source
t() :: %Bolt.Sips.Types.TimeWithTZOffset{
  time: Calendar.time(),
  timezone_offset: integer()
}

Link to this section Functions

Create a valid TimeWithTZOffset from a Time and offset in seconds

Link to this function

format_param(param) View Source
format_param(Bolt.Sips.Types.TimeWithTZOffset.t()) ::
  {:ok, String.t()} | {:error, any()}

Convert TimeWithTZOffset struct in a cypher-compliant string