DecimalNumberParserBuilder

interface DecimalNumberParserBuilder : NumberParserBuilder

Functions

associateWith
Link copied to clipboard
common
open fun associateWith(wholeField: DateTimeField, fractionField: DateTimeField)

Associate both the whole and fractional part of the result with a particular DateTimeField, populating their values 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.(whole: Long, fraction: Long) -> Unit)

Perform an action when parsing succeeds.