object PlatformDateTimeTextProvider : DateTimeTextProvider
The default provider of localized date-time text for the current platform.
amPmTextFor |
Get the localized AM/PM text. (jvm)fun amPmTextFor(value: Long, locale: Locale): String?(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun amPmTextFor(value: Long, locale: <ERROR CLASS>): String? |
dayOfWeekTextFor |
Get the localized day of the week text for a given ISO day of week number. (jvm)fun dayOfWeekTextFor(value: Long, style: TextStyle, locale: Locale): String?(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun dayOfWeekTextFor(value: Long, style: TextStyle, locale: <ERROR CLASS>): String? |
eraTextFor |
Get the localized ISO era text. (jvm)fun eraTextFor(value: Long, style: TextStyle, locale: Locale): String?(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun eraTextFor(value: Long, style: TextStyle, locale: <ERROR CLASS>): String? |
monthTextFor |
Get the localized month text for a given ISO month number. (jvm)fun monthTextFor(value: Long, style: TextStyle, locale: Locale): String?(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun monthTextFor(value: Long, style: TextStyle, locale: <ERROR CLASS>): String? |
parsableTextFor |
Get a list of all localized text in a set of styles along with the values associated that text. The list will be sorted in descending order by the length of text, making it suitable for parsing. (jvm)fun parsableTextFor(field: DateTimeField, styles: Set<TextStyle>, locale: Locale): ParsableTextList(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun parsableTextFor(field: DateTimeField, styles: Set<TextStyle>, locale: <ERROR CLASS>): ParsableTextList |
(jvm)
amPmTextFor |
Get the localized AM/PM text. open fun amPmTextFor(value: Long, locale: Locale): String? |
(jvm)
dayOfWeekTextFor |
Get the localized day of the week text for a given ISO day of week number. open fun dayOfWeekTextFor(value: Long, style: TextStyle, locale: Locale): String? |
(jvm)
eraTextFor |
Get the localized ISO era text. open fun eraTextFor(value: Long, style: TextStyle, locale: Locale): String? |
(jvm)
monthTextFor |
Get the localized month text for a given ISO month number. open fun monthTextFor(value: Long, style: TextStyle, locale: Locale): String? |
(jvm)
parsableTextFor |
Get a list of all localized text in a particular style along with the values associated that text. The list will be sorted in descending order by the length of text, making it suitable for parsing. open fun parsableTextFor(field: DateTimeField, style: TextStyle, locale: Locale): ParsableTextList
Get a list of all localized text in a set of styles along with the values associated that text. The list will be sorted in descending order by the length of text, making it suitable for parsing. abstract fun parsableTextFor(field: DateTimeField, styles: Set<TextStyle>, locale: Locale): ParsableTextList |
(jvm)
textFor |
Get localized text for the specified field, value, style, and locale. open fun textFor(field: DateTimeField, value: Long, style: TextStyle, locale: Locale): String? |