ValueConverter

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[A](implicit vc: ValueConverter[A]): ValueConverter[A]
def of[A](f: A => Value): ValueConverter[A]

A ValueConverter that calls toString on the input value.

A ValueConverter that calls toString on the input value.

def toFormatString[A](locale: Locale, fmt: String): ValueConverter[A]

A ValueConverter that calls fmt.format(a) using given locale.

A ValueConverter that calls fmt.format(a) using given locale.

def toFormatString[A](fmt: String): ValueConverter[A]

A ValueConverter that calls fmt.format(a) using Locale.ROOT.

A ValueConverter that calls fmt.format(a) using Locale.ROOT.