TemporalConverter

org.beangle.commons.conversion.string.TemporalConverter
object TemporalConverter extends StringConverterFactory[String, Temporal]

DateConverter

Attributes

Since

3.2.0

Graph
Supertypes
class StringConverterFactory[String, Temporal]
class ConverterFactory[String, Temporal]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

object ToInstant extends Converter[String, Instant]

Attributes

Supertypes
trait Converter[String, Instant]
trait String => Instant
class Object
trait Matchable
class Any
Self type
ToInstant.type
object ToLocalDate extends Converter[String, LocalDate]

Attributes

Supertypes
trait Converter[String, LocalDate]
trait String => LocalDate
class Object
trait Matchable
class Any
Self type
object ToLocalDateTime extends Converter[String, LocalDateTime]

Attributes

Supertypes
trait Converter[String, LocalDateTime]
trait String => LocalDateTime
class Object
trait Matchable
class Any
Self type
object ToLocalTime extends Converter[String, LocalTime]

Attributes

Supertypes
trait Converter[String, LocalTime]
trait String => LocalTime
class Object
trait Matchable
class Any
Self type
object ToMonthDay extends Converter[String, MonthDay]

Attributes

Supertypes
trait Converter[String, MonthDay]
trait String => MonthDay
class Object
trait Matchable
class Any
Self type
ToMonthDay.type
object ToOffsetDateTime extends Converter[String, OffsetDateTime]

Attributes

Supertypes
trait Converter[String, OffsetDateTime]
trait String => OffsetDateTime
class Object
trait Matchable
class Any
Self type
object ToYearMonth extends Converter[String, YearMonth]

Attributes

Supertypes
trait Converter[String, YearMonth]
trait String => YearMonth
class Object
trait Matchable
class Any
Self type
object ToZonedDateTime extends Converter[String, ZonedDateTime]

Attributes

Supertypes
trait Converter[String, ZonedDateTime]
trait String => ZonedDateTime
class Object
trait Matchable
class Any
Self type

Value members

Inherited methods

override def convert[T](input: Any, targetType: Class[T]): T

Attributes

Definition Classes
Inherited from:
StringConverterFactory
def getConverter[T](targetType: Class[T]): Option[Converter[S, T]]

Return convert from S to T

Return convert from S to T

Attributes

Inherited from:
ConverterFactory
override def getTypeinfo: (Class[_], Class[_])

Attributes

Definition Classes
Inherited from:
ConverterFactory
protected def register(targetType: Class[_], converter: Converter[String, _]): Unit

Attributes

Inherited from:
ConverterFactory

Inherited fields

protected val converters: HashMap[Class[_], Converter[String, _]]

Attributes

Inherited from:
ConverterFactory