code: public static DateTimeFormatter ofLocalizedDate(FormatStyle dateStyle) {
          Jdk8Methods.requireNonNull(dateStyle, "dateStyle");
          return new DateTimeFormatterBuilder().appendLocalized(dateStyle, null)
                          .toFormatter().withChronology(IsoChronology.INSTANCE);
      }
docs: Returns a locale specific date format.
  <p>
  This returns a formatter that will print/parse a date.
  The exact format pattern used varies by locale.
  <p>
  The locale is determined from the formatter. The formatter returned directly by
  this method will use the {@link Locale#getDefault() default locale}.
  The locale can be controlled using {@link DateTimeFormatter#withLocale(Locale) withLocale(Locale)}
  on the result of this method.
  <p>
  Note that the localized pattern is looked up lazily.
  This {@code DateTimeFormatter} holds the style required and the locale,
  looking up the pattern required on demand.
  
  @param dateStyle  the formatter style to obtain, not null
  @return the date formatter, not null