play.api.data.format

Formats

object Formats

This object defines several default formatters.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Formats
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def bigDecimalFormat(precision: Option[(Int, Int)]): Formatter[BigDecimal]

    Default formatter for the BigDecimal type.

  8. implicit val bigDecimalFormat: Formatter[BigDecimal]

    Default formatter for the BigDecimal type with no precision

  9. implicit def booleanFormat: Formatter[Boolean]

    Default formatter for the Boolean type.

  10. implicit def byteFormat: Formatter[Byte]

    Default formatter for the Byte type.

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def dateFormat(pattern: String, timeZone: TimeZone = TimeZone.getDefault): Formatter[Date]

    Formatter for the java.util.Date type.

    Formatter for the java.util.Date type.

    pattern

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

    timeZone

    the java.util.TimeZone to use for parsing and formatting

  13. implicit val dateFormat: Formatter[Date]

    Default formatter for the java.util.Date type with pattern yyyy-MM-dd.

  14. implicit def doubleFormat: Formatter[Double]

    Default formatter for the Double type.

  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. implicit def floatFormat: Formatter[Float]

    Default formatter for the Float type.

  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. def ignoredFormat[A](value: A): Formatter[A]

    Formatter for ignored values.

    Formatter for ignored values.

    value

    As we ignore this parameter in binding/unbinding we have to provide a default value.

  22. implicit def intFormat: Formatter[Int]

    Default formatter for the Int type.

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def jodaDateTimeFormat(pattern: String, timeZone: DateTimeZone = ...): Formatter[DateTime]

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

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

    pattern

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

    timeZone

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

  25. implicit val jodaDateTimeFormat: Formatter[DateTime]

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

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

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

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

    pattern

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

  27. implicit val jodaLocalDateFormat: Formatter[LocalDate]

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

  28. implicit def longFormat: Formatter[Long]

    Default formatter for the Long type.

  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. implicit def shortFormat: Formatter[Short]

    Default formatter for the Short type.

  33. def sqlDateFormat(pattern: String, timeZone: TimeZone = TimeZone.getDefault): Formatter[Date]

    Formatter for the java.sql.Date type.

    Formatter for the java.sql.Date type.

    pattern

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

    timeZone

    the java.util.TimeZone to use for parsing and formatting

  34. implicit val sqlDateFormat: Formatter[Date]

    Default formatter for java.sql.Date type with pattern yyyy-MM-dd.

  35. implicit def stringFormat: Formatter[String]

    Default formatter for the String type.

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. implicit def uuidFormat: Formatter[UUID]

    Default formatter for the java.util.UUID type.

  39. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped