object Formats
- Alphabetic
- By Inheritance
- Formats
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bigDecimalFormat(precision: Option[(Int, Int)]): Formatter[BigDecimal]
Default formatter for the
BigDecimaltype. - implicit val bigDecimalFormat: Formatter[BigDecimal]
Default formatter for the
BigDecimaltype with no precision - implicit def booleanFormat: Formatter[Boolean]
Default formatter for the
Booleantype. - implicit def byteFormat: Formatter[Byte]
Default formatter for the
Bytetype. - implicit def charFormat: Formatter[Char]
Default formatter for the
Chartype. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def dateFormat(pattern: String, timeZone: TimeZone = TimeZone.getDefault): Formatter[Date]
Formatter for the
java.util.Datetype.Formatter for the
java.util.Datetype.- pattern
a date pattern, as specified in
java.time.format.DateTimeFormatter.- timeZone
the
java.util.TimeZoneto use for parsing and formatting
- implicit val dateFormat: Formatter[Date]
Default formatter for the
java.util.Datetype with patternyyyy-MM-dd. - implicit def doubleFormat: Formatter[Double]
Default formatter for the
Doubletype. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def floatFormat: Formatter[Float]
Default formatter for the
Floattype. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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.
- implicit def intFormat: Formatter[Int]
Default formatter for the
Inttype. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def localDateFormat(pattern: String): Formatter[LocalDate]
Formatter for the
java.time.LocalDatetype.Formatter for the
java.time.LocalDatetype.- pattern
a date pattern as specified in
java.time.format.DateTimeFormatter.
- implicit val localDateFormat: Formatter[LocalDate]
Default formatter for
java.time.LocalDatetype with patternyyyy-MM-dd. - def localDateTimeFormat(pattern: String, zoneId: ZoneId = java.time.ZoneId.systemDefault()): Formatter[LocalDateTime]
Formatter for the
java.time.LocalDateTimetype.Formatter for the
java.time.LocalDateTimetype.- pattern
a date pattern as specified in
java.time.format.DateTimeFormatter.- zoneId
the
java.time.ZoneIdto use for parsing and formatting
- implicit val localDateTimeFormat: Formatter[LocalDateTime]
Default formatter for
java.time.LocalDateTimetype with patternyyyy-MM-dd. - def localTimeFormat(pattern: String): Formatter[LocalTime]
Formatter for the
java.time.LocalTimetype.Formatter for the
java.time.LocalTimetype.- pattern
a date pattern as specified in
java.time.format.DateTimeFormatter.
- implicit val localTimeFormat: Formatter[LocalTime]
Default formatter for
java.time.LocalTimetype with patternHH:mm:ss. - implicit def longFormat: Formatter[Long]
Default formatter for the
Longtype. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def parsing[T](parse: (String) => T, errMsg: String, errArgs: Seq[Any])(key: String, data: Map[String, String]): Either[Seq[FormError], T]
Helper for formatters binders
Helper for formatters binders
- parse
Function parsing a String value into a T value, throwing an exception in case of failure
- errArgs
Error to set in case of parsing failure
- key
Key name of the field to parse
- data
Field data
- implicit def shortFormat: Formatter[Short]
Default formatter for the
Shorttype. - def sqlDateFormat(pattern: String): Formatter[Date]
Formatter for the
java.sql.Datetype.Formatter for the
java.sql.Datetype.- pattern
a date pattern as specified in
java.time.DateTimeFormatter.
- implicit val sqlDateFormat: Formatter[Date]
Default formatter for
java.sql.Datetype with patternyyyy-MM-dd. - def sqlTimestampFormat(pattern: String, timeZone: TimeZone = TimeZone.getDefault): Formatter[Timestamp]
Formatter for the
java.sql.Timestamptype.Formatter for the
java.sql.Timestamptype.- pattern
a date pattern as specified in
java.time.DateTimeFormatter.- timeZone
the
java.util.TimeZoneto use for parsing and formatting
- implicit val sqlTimestampFormat: Formatter[Timestamp]
Default formatter for
java.sql.Timestamptype with patternyyyy-MM-dd HH:mm:ss. - implicit def stringFormat: Formatter[String]
Default formatter for the
Stringtype. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def uuidFormat: Formatter[UUID]
Default formatter for the
java.util.UUIDtype. - final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)