textFor

Get localized text for the specified field, value, style, and locale.

Return

the localized text or null if unavailable

Parameters

field

the field to get text for

locale

the locale

style

the style of the text

value

the value of the field

open fun textFor(field: DateTimeField, value: Long, style: TextStyle, locale: Locale): String?