Constructs a simple mapping for a date field (mapped as org.joda.time.DateTime type
).
Constructs a simple mapping for a date field (mapped as org.joda.time.DateTime type
).
For example:
Form("birthdate" -> jodaDate("dd-MM-yyyy"))
the date pattern, as defined in org.joda.time.format.DateTimeFormat
the org.joda.time.DateTimeZone
to use for parsing and formatting
Constructs a simple mapping for a date field (mapped as org.joda.time.DateTime type
).
Constructs a simple mapping for a date field (mapped as org.joda.time.DateTime type
).
For example:
Form("birthdate" -> jodaDate)
Constructs a simple mapping for a date field (mapped as org.joda.time.LocalDate type
).
Constructs a simple mapping for a date field (mapped as org.joda.time.LocalDate type
).
For example:
Form("birthdate" -> jodaLocalDate("dd-MM-yyyy"))
the date pattern, as defined in org.joda.time.format.DateTimeFormat
Constructs a simple mapping for a date field (mapped as org.joda.time.LocalDatetype
).
Constructs a simple mapping for a date field (mapped as org.joda.time.LocalDatetype
).
For example:
Form("birthdate" -> jodaLocalDate)