play.api.data.format

Formats

object Formats

This object defines several default formatters.

Source
Format.scala
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. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. 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

  12. implicit val dateFormat: Formatter[Date]

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

  13. implicit def doubleFormat: Formatter[Double]

    Default formatter for the Double type.

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

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

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

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

    Default formatter for the Float type.

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

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

    Definition Classes
    AnyRef → Any
  20. 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.

  21. implicit def intFormat: Formatter[Int]

    Default formatter for the Int type.

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. 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

  24. implicit val jodaDateTimeFormat: Formatter[DateTime]

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

  25. 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.

  26. implicit val jodaLocalDateFormat: Formatter[LocalDate]

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

  27. implicit def longFormat: Formatter[Long]

    Default formatter for the Long type.

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

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

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

    Definition Classes
    AnyRef
  31. 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

  32. implicit val sqlDateFormat: Formatter[Date]

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

  33. implicit def stringFormat: Formatter[String]

    Default formatter for the String type.

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

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped