Format

io.github.nafg.scalajs.react.util.editor.Format
See theFormat companion class
object Format

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Format.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[A](parse: String => Validated[TagMod, A])(format: A => String, dummy: Null): Format[A]
def fromPrism[A](prism: Prism[String, A])(error: => TagMod): Format[A]
def localDate(dtf: DateTimeFormatter): Format[LocalDate]
def localDateTime(dtf: DateTimeFormatter): Format[LocalDateTime]
def localTime(dtf: DateTimeFormatter): Format[LocalTime]

Implicits

Implicits

implicit val bigDecimal: Format[BigDecimal]
implicit val double: Format[Double]
implicit val int: Format[Int]
implicit def maybe[A](implicit underlying: Format[A]): Format[Option[A]]
implicit val string: Format[String]