calecto v0.16.0 Calecto.Date

Calendar Date for Ecto

Summary

Functions

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

Casts to date

Converts to erlang style triplet

Converts erlang style triplet to Calendar.Date

The Ecto primitive type

Functions

blank?(value)

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

cast(d)

Casts to date.

cast!(date)
dump(date)

Converts to erlang style triplet

from_erl(date_tuple)
load(arg)

Converts erlang style triplet to Calendar.Date

type()

The Ecto primitive type.