amPmTextFor

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

Get the localized AM/PM text.

Return

the localized AM/PM text or null if unavailable

Parameters

value

0 for AM or 1 for PM

locale

the locale

Throws

io.islandtime.DateTimeException

if the value is not 0 or 1

open override fun amPmTextFor(value: Long, locale: Locale): String?

Get the localized AM/PM text.

Return

the localized AM/PM text or null if unavailable

Parameters

value

0 for AM or 1 for PM

locale

the locale

Throws

io.islandtime.DateTimeException

if the value is not 0 or 1