Ecto.Time
An Ecto type for time.
Summary↑
cast(t) | Casts to time |
dump(time) | Converts an |
load(arg1) | Converts a time tuple like the one returned by |
local() | Returns an |
to_iso8601(time) | Converts |
to_string(time) | Converts |
type() | The Ecto primitive type |
utc() | Returns an |
Functions
Casts to time.
Converts an Ecto.Time
into a time tuple (in the form {hour, min, sec,
usec}
).
Converts a time tuple like the one returned by dump/1
into an Ecto.Time
.
Returns an Ecto.Time
in local time.
Converts Ecto.Time
to its ISO 8601 UTC representation.
Converts Ecto.Time
to a string representation.
The Ecto primitive type.
Returns an Ecto.Time
in UTC.