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()
View Source
t() :: %Bolt.Sips.Types.DateTimeWithTZOffset{
naive_datetime: Calendar.naive_datetime(),
timezone_offset: integer()
}
t() :: %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 Source
create(naive_datetime, offset)
View Source
create(Calendar.naive_datetime(), integer()) ::
Bolt.Sips.Types.DateTimeWithTZOffset.t()
create(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 Source
format_param(param)
View Source
format_param(Bolt.Sips.Types.DateTimeWithTZOffset.t()) ::
{:ok, String.t()} | {:error, any()}
format_param(Bolt.Sips.Types.DateTimeWithTZOffset.t()) :: {:ok, String.t()} | {:error, any()}
Convert DateTimeWithTZOffset struct in a cypher-compliant string