DateTimeTextProvider.getText

Gets the text for the specified field, locale and style for the purpose of formatting. !(p) The text associated with the value is returned. The null return value should be used if there is no applicable text, or if the text would be a numeric representation of the value.

@param field the field to get text for, not null @param value the field value to get text for, not null @param style the style to get text for, not null @param locale the locale to get text for, not null @return the text for the field value, null if no text found

  1. string getText(TemporalField field, long value, TextStyle style, Locale locale)
    class DateTimeTextProvider
    string
    getText
  2. string getText(Chronology chrono, TemporalField field, long value, TextStyle style, Locale locale)

Meta