core / io.islandtime.parser / DecimalNumberParserBuilder / associateWith

associateWith

(iosArm64, iosX64, jvm, macosX64) open fun associateWith(wholeField: DateTimeField, fractionField: DateTimeField): Unit

Associate both the whole and fractional part of the result with a particular DateTimeField, populating their values when parsing succeeds.