timex_ecto v1.0.1 Timex.Ecto.DateTime

Support for using Timex with :datetime fields

Summary

Functions

We can let Ecto handle blank input

Handle casting to Timex.Ecto.DateTime

Handle casting to Timex.Ecto.DateTime without returning a tuple

Convert to native Ecto representation

Load from the native Ecto representation

Callback implementation for c:Ecto.Type.type/0

Functions

blank?(value)

We can let Ecto handle blank input

cast(datetime)

Handle casting to Timex.Ecto.DateTime

cast!(input)

Handle casting to Timex.Ecto.DateTime without returning a tuple

dump(date)

Convert to native Ecto representation

load(arg1)

Load from the native Ecto representation

type()

Callback implementation for c:Ecto.Type.type/0.