PlatformDateTimeTextProvider

object PlatformDateTimeTextProvider : DateTimeTextProvider

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

object PlatformDateTimeTextProvider : DateTimeTextProvider
object PlatformDateTimeTextProvider : DateTimeTextProvider

Functions

amPmTextFor
Link copied to clipboard
common
open fun amPmTextFor(value: Long, locale: Locale): String?
Get the localized AM/PM text.
darwin
open override fun amPmTextFor(value: Long, locale: <ERROR CLASS>): String?
Get the localized AM/PM text.
open override fun amPmTextFor(value: Long, locale: Locale): String?
Get the localized AM/PM text.
dayOfWeekTextFor
Link copied to clipboard
common
open fun dayOfWeekTextFor(value: Long, style: TextStyle, locale: Locale): String?
Get the localized day of the week text for a given ISO day of week number.
darwin
open override fun dayOfWeekTextFor(value: Long, style: TextStyle, locale: <ERROR CLASS>): String?
Get the localized day of the week text for a given ISO day of week number.
open override fun dayOfWeekTextFor(value: Long, style: TextStyle, locale: Locale): String?
Get the localized day of the week text for a given ISO day of week number.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
open operator fun equals(other: Any?): Boolean
open operator fun equals(other: Any?): Boolean
eraTextFor
Link copied to clipboard
common
open fun eraTextFor(value: Long, style: TextStyle, locale: Locale): String?
Get the localized ISO era text.
darwin
open override fun eraTextFor(value: Long, style: TextStyle, locale: <ERROR CLASS>): String?
Get the localized ISO era text.
open override fun eraTextFor(value: Long, style: TextStyle, locale: Locale): String?
Get the localized ISO era text.
hashCode
Link copied to clipboard
open fun hashCode(): Int
open fun hashCode(): Int
open fun hashCode(): Int
monthTextFor
Link copied to clipboard
common
open fun monthTextFor(value: Long, style: TextStyle, locale: Locale): String?
Get the localized month text for a given ISO month number.
darwin
open override fun monthTextFor(value: Long, style: TextStyle, locale: <ERROR CLASS>): String?
Get the localized month text for a given ISO month number.
open override fun monthTextFor(value: Long, style: TextStyle, locale: Locale): String?
Get the localized month text for a given ISO month number.
parsableTextFor
Link copied to clipboard
darwin
open fun parsableTextFor(field: DateTimeField, style: TextStyle, locale: <ERROR CLASS>): ParsableTextList
Get a list of all localized text in a particular style along with the values associated that text.
common
open fun parsableTextFor(field: DateTimeField, style: TextStyle, locale: Locale): ParsableTextList
Get a list of all localized text in a particular style along with the values associated that text.
open fun parsableTextFor(field: DateTimeField, style: TextStyle, locale: Locale): ParsableTextList
Get a list of all localized text in a particular style along with the values associated that text.
common
abstract fun parsableTextFor(field: DateTimeField, styles: Set<TextStyle>, locale: Locale): ParsableTextList
Get a list of all localized text in a set of styles along with the values associated that text.
darwin
open override fun parsableTextFor(field: DateTimeField, styles: Set<TextStyle>, locale: <ERROR CLASS>): ParsableTextList
Get a list of all localized text in a set of styles along with the values associated that text.
open override fun parsableTextFor(field: DateTimeField, styles: Set<TextStyle>, locale: Locale): ParsableTextList
Get a list of all localized text in a set of styles along with the values associated that text.
textFor
Link copied to clipboard
darwin
open fun textFor(field: DateTimeField, value: Long, style: TextStyle, locale: <ERROR CLASS>): String?
Get localized text for the specified field, value, style, and locale.
common
open fun textFor(field: DateTimeField, value: Long, style: TextStyle, locale: Locale): String?
Get localized text for the specified field, value, style, and locale.
open fun textFor(field: DateTimeField, value: Long, style: TextStyle, locale: Locale): String?
Get localized text for the specified field, value, style, and locale.
toString
Link copied to clipboard
open fun toString(): String
open fun toString(): String
open fun toString(): String