sign

abstract fun sign(builder: SignParserBuilder.() -> 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.

See also

Parameters

builder

configure parser behavior