core / io.islandtime.parser / durationOfFractionalSeconds

durationOfFractionalSeconds

(iosArm64, iosX64, jvm, macosX64) inline fun DateTimeParserBuilder.durationOfFractionalSeconds(wholeLength: IntRange = 1..19, fractionLength: IntRange = 0..9, fractionScale: Int = 9, crossinline builder: DecimalNumberParserBuilder.() -> Unit = {}): Unit

Parse a duration of fractional seconds.

The number of whole seconds will be associated with DateTimeField.DURATION_OF_SECONDS while any fractional part will be associated with DateTimeField.NANOSECOND_OF_SECOND. The decimal separator character will be determined by the DateTimeParserSettings.