Skip to content

//core/io.islandtime.format/NumberStyle

NumberStyle

common

data class NumberStyle(val zeroDigit: Char, val plusSign: List<Char>, val minusSign: List<Char>, val decimalSeparator: List<Char>)

The set of characters that should be used when parsing or formatting numbers.

Constructors

NumberStyle

common

constructor(zeroDigit: Char, plusSign: List<Char>, minusSign: List<Char>, decimalSeparator: List<Char>)

Types

Name Summary
Companion

common


object Companion

Properties

Name Summary
decimalSeparator

common


val decimalSeparator: List<Char>

A list of allowed decimal separator characters. The first element will be used when formatting
minusSign

common


val minusSign: List<Char>

A list of allowed minus sign characters. The first element will be used when formatting.
plusSign

common


val plusSign: List<Char>

A list of allowed plus sign characters. The first element will be used when formatting.
zeroDigit

common


val zeroDigit: Char

The character that represents zero.