//core/io.islandtime.parser/DateTimeParserSettings
DateTimeParserSettings¶
common
data class DateTimeParserSettings(val numberStyle: NumberStyle = NumberStyle.DEFAULT, val locale: () -> Locale = { defaultLocale() }, val isCaseSensitive: Boolean = true)
Settings that control the parsing behavior.
Constructors¶
DateTimeParserSettings | common constructor(numberStyle: NumberStyle = NumberStyle.DEFAULT, locale: Locale, isCaseSensitive: Boolean = true) constructor(numberStyle: NumberStyle = NumberStyle.DEFAULT, locale: () -> Locale = { defaultLocale() }, isCaseSensitive: Boolean = true) |
Types¶
Name | Summary |
---|---|
Companion | common object Companion |
Properties¶
Name | Summary |
---|---|
isCaseSensitive | common val isCaseSensitive: Boolean = true |
locale | common val locale: () -> Locale A function that will be invoked to provide a locale if one is needed during parsing. |
numberStyle | common val numberStyle: NumberStyle Defines the set of characters that should be used when parsing numbers. |