DateTimeFormatter

class DateTimeFormatter : JFormattedTextField.AbstractFormatter(source)

Coerces inputs into Timestamp objects.

Invalid inputs are kept as-is, and are not rejected.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun stringToValue(text: String?): Timestamp

Constructs a Timestamp from text, thereby liberally interpreting the intended timestamp and normalizing the notation.

Link copied to clipboard
open override fun valueToString(value: Any?): String

Returns the Timestamp.value of value, assuming that value is a Timestamp.