DateTimeFormatterBuilder.getLocalizedDateTimePattern

Gets the formatting pattern for date and time styles for a locale and chronology. The locale and chronology are used to lookup the locale specific format for the requested dateStyle and/or timeStyle. !(p) If the locale contains the "rg" (region override) <a href="../../util/Locale.html#def_locale_extension">Unicode extensions</a>, the formatting pattern is overridden with the one appropriate for the region.

@param dateStyle the FormatStyle for the date, null for time-only pattern @param timeStyle the FormatStyle for the time, null for date-only pattern @param chrono the Chronology, non-null @param locale the locale, non-null @return the locale and Chronology specific formatting pattern @throws IllegalArgumentException if both dateStyle and timeStyle are null

class DateTimeFormatterBuilder
static
string
getLocalizedDateTimePattern

Meta