Ecto.Time

An Ecto type for time.

Source

Summary

blank?(value)

Times are blank when given as strings and the string is blank

cast(t)

Casts to time

dump(time)

Converts an Ecto.Time into a time triplet

load(arg1)

Converts a time triplet into an Ecto.Time

local()

Returns an Ecto.Time in local time

to_string(time)

Converts Ecto.Time to its ISO 8601 without timezone string representation

type()

The Ecto primitive type

utc()

Returns an Ecto.Time in UTC

Functions

blank?(value)

Times are blank when given as strings and the string is blank.

Source
cast(t)

Casts to time.

Source
dump(time)

Converts an Ecto.Time into a time triplet.

Source
load(arg1)

Converts a time triplet into an Ecto.Time.

Source
local()

Returns an Ecto.Time in local time.

Source
to_string(time)

Converts Ecto.Time to its ISO 8601 without timezone string representation.

Source
type()

The Ecto primitive type.

Source
utc()

Returns an Ecto.Time in UTC.

Source