date

inline fun <T> date(fieldName: String, formats: List<DateFormat> = emptyList()): DateField<T>

Declares a child DateField named fieldName, modeling the date field type.

Parameters

formats

the accepted date formats for the underlying mapping, empty when no explicit format was declared