Ecto.Time
An Ecto type for time.
Summary↑
blank?(value) | Times are blank when given as strings and the string is blank |
cast(t) | Casts to time |
dump(time) | Converts an |
load(arg1) | Converts a time triplet into an |
local() | Returns an |
to_string(time) | Converts |
type() | The Ecto primitive type |
utc() | Returns an |
Functions
Times are blank when given as strings and the string is blank.
Casts to time.
Converts an Ecto.Time
into a time triplet.
Converts a time triplet into an Ecto.Time
.
Returns an Ecto.Time
in local time.
Converts Ecto.Time
to its ISO 8601 without timezone string representation.
The Ecto primitive type.
Returns an Ecto.Time
in UTC.