//core/io.islandtime/Month/displayName
displayName¶
common
fun displayName(style: TextStyle, locale: Locale): String
A textual representation of the month, suitable for display purposes. The localized name will be returned, if available. If not, the ISO month number (1-12) will be returned instead.
The result depends on the configured DateTimeTextProvider and may differ between platforms.
Return¶
the localized name or number if unavailable for the specified locale
Parameters¶
common
style | the style of text |
locale | the locale |
See also¶
Month.localizedName |