//core/io.islandtime.format/DateTimeTextProvider/eraTextFor
eraTextFor¶
common
open fun eraTextFor(value: Long, style: TextStyle, locale: Locale): String?
Get the localized ISO era text.
Return¶
the localized era text or null
if unavailable
Parameters¶
common
value | 0 for BCE or 1 for CE |
locale | the locale |
style | the style of the text |
Throws¶
DateTimeException | if the value is not 0 or 1 |