Bolt.Sips v1.2.1-rc2 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 Source
t() :: %Bolt.Sips.Types.DateTimeWithTZOffset{
  naive_datetime: Calendar.naive_datetime(),
  timezone_offset: integer()
}

Link to this section Functions

Create a valid DateTimeWithTZOffset from a NaiveDateTime and offset in seconds

Link to this function

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

Convert DateTimeWithTZOffset struct in a cypher-compliant string