View Source Want.DateTime (want v1.14.3)

Provides conversions to and from Elixir DateTime structs.

Summary

Types

@type result() ::
  {:ok, t()}
  | {:error, binary()}
  | {:error, atom()}
  | {:gap, t(), t()}
  | {:ambiguous, t(), t()}
@type t() :: DateTime.t()

Functions

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