Skip to content

//core/io.islandtime.format

Package io.islandtime.format

common darwin jvm

Formatting of dates, times, durations, and intervals into textual representations.

Types

Name Summary
DateTimeTextProvider

common


interface DateTimeTextProvider

An abstraction that allows localized date-time text to be supplied from different data sources.
NumberStyle

common


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

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

common


typealias ParsableTextList = List<Pair<String, Long>>
PlatformDateTimeTextProvider

common


object PlatformDateTimeTextProvider : DateTimeTextProvider

The default provider of localized date-time text for the current platform.

darwin jvm


darwin jvm

object PlatformDateTimeTextProvider : DateTimeTextProvider
PlatformTimeZoneTextProvider

common


object PlatformTimeZoneTextProvider : TimeZoneTextProvider

The default provider of localized time zone text for the current platform.

darwin jvm


darwin jvm

object PlatformTimeZoneTextProvider : TimeZoneTextProvider
TextStyle

common


enum TextStyle : Enum<TextStyle>

A style of text. The meaning may vary depending on the context. Standalone styles should be used when displaying text by itself since some languages have different names in the context of a date and time.
TimeZoneTextProvider

common


interface TimeZoneTextProvider

An abstraction that allows localized time zone names to be supplied from different data sources.
TimeZoneTextStyle

common


enum TimeZoneTextStyle : Enum<TimeZoneTextStyle>

A time zone text style.

Properties

Name Summary
numberStyle

common

val Locale.numberStyle: NumberStyle

The NumberStyle associated with this locale.