WholeNumberParserBuilder

interface WholeNumberParserBuilder : NumberParserBuilder

Functions

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

Associate the result with a particular DateTimeField, populating its value when parsing succeeds.

enforceSignStyle
Link copied to clipboard
common
abstract fun enforceSignStyle(signStyle: SignStyle)

Enforce a particular sign style.

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

Perform an action when parsing succeeds.