code: public static String format(final LocalDate self, FormatStyle dateStyle) {
          return self.format(DateTimeFormatter.ofLocalizedDate(dateStyle));
      }
docs: Formats this date in the provided, localized {@link java.time.format.FormatStyle}.
  
  @param self      a LocalDate
  @param dateStyle the FormatStyle
  @return a formatted String
  @see java.time.format.DateTimeFormatter
  @since 2.5.0