LiteralParserBuilder

interface LiteralParserBuilder

Functions

associateWith
Link copied to clipboard
common
open fun associateWith(field: DateTimeField)

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

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

Perform an action when parsing succeeds.