JodaFormats

play.api.data.format.JodaFormats
object JodaFormats

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def jodaDateTimeFormat(pattern: String, timeZone: DateTimeZone): Formatter[DateTime]

Formatter for the org.joda.time.DateTime type.

Formatter for the org.joda.time.DateTime type.

Value parameters

pattern

a date pattern as specified in org.joda.time.format.DateTimeFormat.

timeZone

the org.joda.time.DateTimeZone to use for parsing and formatting

Attributes

def jodaLocalDateFormat(pattern: String): Formatter[LocalDate]

Formatter for the org.joda.time.LocalDate type.

Formatter for the org.joda.time.LocalDate type.

Value parameters

pattern

a date pattern as specified in org.joda.time.format.DateTimeFormat.

Attributes

Implicits

Implicits

implicit val jodaDateTimeFormat: Formatter[DateTime]

Default formatter for org.joda.time.DateTime type with pattern yyyy-MM-dd.

Default formatter for org.joda.time.DateTime type with pattern yyyy-MM-dd.

Attributes

implicit val jodaLocalDateFormat: Formatter[LocalDate]

Default formatter for org.joda.time.LocalDate type with pattern yyyy-MM-dd.

Default formatter for org.joda.time.LocalDate type with pattern yyyy-MM-dd.

Attributes