//core/io.islandtime.format/DateTimeTextProvider/amPmTextFor
amPmTextFor¶
common
open fun amPmTextFor(value: Long, locale: Locale): String?
Get the localized AM/PM text.
Return¶
the localized AM/PM text or null
if unavailable
Parameters¶
common
value | 0 for AM or 1 for PM |
locale | the locale |
Throws¶
DateTimeException | if the value is not 0 or 1 |