Package io.islandtime.format

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

Types

DateTimeTextProvider
Link copied to clipboard
common

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

interface DateTimeTextProvider
NumberStyle
Link copied to clipboard
common

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

data class NumberStyle(zeroDigit: Char,plusSign: List<Char>,minusSign: List<Char>,decimalSeparator: List<Char>)
ParsableTextList
Link copied to clipboard
common
typealias ParsableTextList = kotlin.collections.List<kotlin.Pair<kotlin.String, kotlin.Long>>
PlatformDateTimeTextProvider
Link copied to clipboard

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

common
object PlatformDateTimeTextProvider : DateTimeTextProvider
object PlatformDateTimeTextProvider : DateTimeTextProvider
object PlatformDateTimeTextProvider : DateTimeTextProvider
PlatformTimeZoneTextProvider
Link copied to clipboard

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

common
object PlatformTimeZoneTextProvider : TimeZoneTextProvider
object PlatformTimeZoneTextProvider : TimeZoneTextProvider
object PlatformTimeZoneTextProvider : TimeZoneTextProvider
TextStyle
Link copied to clipboard
common

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.

enum TextStyle : Enum<TextStyle>
TimeZoneTextProvider
Link copied to clipboard
common

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

interface TimeZoneTextProvider
TimeZoneTextStyle
Link copied to clipboard
common

A time zone text style.

Standard versions indicate the name for standard time, like "Eastern Standard Time". Daylight versions indicate the name of daylight savings time, like "Eastern Daylight Time". Generic is agnostic to daylight savings -- ie. "Eastern Time".

enum TimeZoneTextStyle : Enum<TimeZoneTextStyle>

Properties

numberStyle
Link copied to clipboard
common

The NumberStyle associated with this locale.

val Locale.numberStyle: NumberStyle
numberStyle
Link copied to clipboard
darwin
val <ERROR CLASS>.numberStyle: NumberStyle
numberStyle
Link copied to clipboard
val Locale.numberStyle: NumberStyle