View Source Kvasir.Type.Timestamp (kvasir v0.0.18)

A timestamp containing date and time.

By default the timestamp is UTC only.

Link to this section Summary

Functions

Parse a Kvasir.Type.Timestamp type value.

Link to this section Functions

Link to this function

parse!(value, opts \\ [])

View Source
@spec parse!(value :: any(), opts :: Keyword.t()) :: term() | no_return()

Parse a Kvasir.Type.Timestamp type value.

examples

Examples

iex> Kvasir.Type.Timestamp.parse!(pid())
** (Kvasir.InvalidType) Invalid Elixir.Kvasir.Type.Timestamp type.