play.api.data.format

Formats

Related Doc: package format

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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Default formatter for the BigDecimal type.

  6. implicit val bigDecimalFormat: Formatter[BigDecimal]

    Default formatter for the BigDecimal type with no precision

  7. implicit def booleanFormat: Formatter[Boolean]

    Default formatter for the Boolean type.

  8. implicit def byteFormat: Formatter[Byte]

    Default formatter for the Byte type.

  9. def clone(): AnyRef

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

  11. implicit val dateFormat: Formatter[Date]

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

  12. implicit def doubleFormat: Formatter[Double]

    Default formatter for the Double type.

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

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

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

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

    Default formatter for the Float type.

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

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

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

  20. implicit def intFormat: Formatter[Int]

    Default formatter for the Int type.

  21. final def isInstanceOf[T0]: Boolean

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

  23. implicit val jodaDateTimeFormat: Formatter[DateTime]

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

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

  25. implicit val jodaLocalDateFormat: Formatter[LocalDate]

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

  26. implicit def longFormat: Formatter[Long]

    Default formatter for the Long type.

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

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

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

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

    Default formatter for the Short type.

  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. implicit def uuidFormat: Formatter[UUID]

    Default formatter for the java.util.UUID type.

  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped