core / io.islandtime.parser / DateTimeParserBuilder / sign

sign

(iosArm64, iosX64, jvm, macosX64) abstract fun sign(builder: SignParserBuilder.() -> Unit = {}): Unit

Parse a character indicating the sign of a number.

The characters associated with a number's sign are controlled by the DateTimeParserSettings. By default, this is '+', '-', or '−' as specified in ISO-8601.

Parameters

builder - configure parser behavior