//core/io.islandtime.format/PlatformDateTimeTextProvider/dayOfWeekTextFor
dayOfWeekTextFor¶
darwin
open override fun dayOfWeekTextFor(value: Long, style: TextStyle, locale: <Error class: unknown class>): String?
Get the localized day of the week text for a given ISO day of week number.
Return¶
the localized day of week text or null
if unavailable
Parameters¶
darwin
value | an ISO day of week number, from Monday (1) to Sunday (7) |
style | the style of the text |
locale | the locale |
Throws¶
DateTimeException | if the value is not a valid day of the week number |
jvm
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.
Return¶
the localized day of week text or null
if unavailable
Parameters¶
jvm
value | an ISO day of week number, from Monday (1) to Sunday (7) |
style | the style of the text |
locale | the locale |
Throws¶
DateTimeException | if the value is not a valid day of the week number |