core / io.islandtime.parser / DateTimeParserSettings

DateTimeParserSettings

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) data class DateTimeParserSettings

Settings that control the parsing behavior.

Constructors

<init>

(jvm) DateTimeParserSettings(numberStyle: NumberStyle = NumberStyle.DEFAULT, locale: Locale, isCaseSensitive: Boolean = true)
(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) <init>(numberStyle: NumberStyle = NumberStyle.DEFAULT, locale: <ERROR CLASS>, isCaseSensitive: Boolean = true)

Settings that control the parsing behavior.

(jvm) DateTimeParserSettings(numberStyle: NumberStyle = NumberStyle.DEFAULT, locale: () -> Locale = { defaultLocale() }, isCaseSensitive: Boolean = true)
(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) <init>(numberStyle: NumberStyle = NumberStyle.DEFAULT, locale: () -> <ERROR CLASS> = { defaultLocale() }, isCaseSensitive: Boolean = true)

Properties

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

isCaseSensitive

val isCaseSensitive: Boolean

locale

A function that will be invoked to provide a locale if one is needed during parsing.

(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) val locale: () -> <ERROR CLASS>
(jvm) val locale: () -> Locale
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

numberStyle

Defines the set of characters that should be used when parsing numbers.

val numberStyle: NumberStyle

Companion Object Properties

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DEFAULT

The default parser settings.

val DEFAULT: DateTimeParserSettings