fun displayName(style: TextStyle, locale: <ERROR CLASS> = defaultLocale()): 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
See Also
fun displayName(style: TextStyle, locale: Locale = defaultLocale()): 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
See Also