//core/io.islandtime.parser/DecimalNumberParserBuilder
DecimalNumberParserBuilder¶
common
interface DecimalNumberParserBuilder : NumberParserBuilder
Functions¶
Name | Summary |
---|---|
associateWith | 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 | common abstract fun enforceSignStyle(signStyle: SignStyle) Enforce a particular sign style. |
onParsed | common abstract fun onParsed(action: DateTimeParseResult.(whole: Long, fraction: Long) -> Unit) Perform an action when parsing succeeds. |