monthTextFor

darwin
open override fun monthTextFor(value: Long, style: TextStyle, locale: <ERROR CLASS>): String?

Get the localized month text for a given ISO month number.

Return

the localized month text or null if unavailable

Parameters

value

an ISO month number, from January (1) to December (12)

style

the style of the text

locale

the locale

Throws

io.islandtime.DateTimeException

if the value is not a valid month number

open override fun monthTextFor(value: Long, style: TextStyle, locale: Locale): String?

Get the localized month text for a given ISO month number.

Return

the localized month text or null if unavailable

Parameters

value

an ISO month number, from January (1) to December (12)

style

the style of the text

locale

the locale

Throws

io.islandtime.DateTimeException

if the value is not a valid month number