Want.DateTime (want v1.14.0)

Provides conversions to and from Elixir DateTime structs.

Link to this section Summary

Link to this section Types

Specs

result() ::
  {:ok, t()}
  | {:error, binary()}
  | {:error, atom()}
  | {:gap, t(), t()}
  | {:ambiguous, t(), t()}

Specs

t() :: DateTime.t()

Link to this section Functions

Link to this function

cast(input, opts)

Specs

cast(input :: any(), opts :: Keyword.t()) :: result()