core / io.islandtime.parser / DateTimeParserBuilder / sign

sign

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) 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. The characters may be overridden by using a different NumberStyle.

Parameters

builder - configure parser behavior

See Also

NumberStyle