Skip to content

//core/io.islandtime.format/DateTimeTextProvider/dayOfWeekTextFor

dayOfWeekTextFor

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.

Return

the localized day of week text or null if unavailable

Parameters

common

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