LiteralParserBuilder

interface LiteralParserBuilder

Functions

associateWith
Link copied to clipboard
common

Associate the result with a particular DateTimeField, setting its value to 1L when parsing succeeds.

open fun associateWith(field: DateTimeField)
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
onParsed
Link copied to clipboard
common

Perform an action when parsing succeeds.

abstract fun onParsed(action: DateTimeParseResult.() -> Unit)
toString
Link copied to clipboard
common
open override fun toString(): String