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()
View Source
t() :: %Bolt.Sips.Types.TimeWithTZOffset{
time: Calendar.time(),
timezone_offset: integer()
}
t() :: %Bolt.Sips.Types.TimeWithTZOffset{ time: Calendar.time(), timezone_offset: integer() }
Link to this section Functions
Link to this function
create(time, offset)
View Source
create(time, offset)
View Source
create(Calendar.time(), integer()) :: Bolt.Sips.Types.TimeWithTZOffset.t()
create(Calendar.time(), integer()) :: Bolt.Sips.Types.TimeWithTZOffset.t()
Create a valid TimeWithTZOffset from a Time and offset in seconds
Link to this function
format_param(param)
View Source
format_param(param)
View Source
format_param(Bolt.Sips.Types.TimeWithTZOffset.t()) ::
{:ok, String.t()} | {:error, any()}
format_param(Bolt.Sips.Types.TimeWithTZOffset.t()) :: {:ok, String.t()} | {:error, any()}
Convert TimeWithTZOffset struct in a cypher-compliant string