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

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

Specs

parse!(value :: any(), opts :: Keyword.t()) :: term() | no_return()

Parse a Kvasir.Type.Timestamp type value.

Examples

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