code: public static ChronoPrinter<PlainDate> ofDate(IsoDateStyle style) {
  
          switch (style) {
              case BASIC_CALENDAR_DATE:
                  return Iso8601Format.BASIC_CALENDAR_DATE;
              case BASIC_ORDINAL_DATE:
                  return Iso8601Format.BASIC_ORDINAL_DATE;
              case BASIC_WEEK_DATE:
                  return Iso8601Format.BASIC_WEEK_DATE;
              case EXTENDED_CALENDAR_DATE:
                  return Iso8601Format.EXTENDED_CALENDAR_DATE;
              case EXTENDED_ORDINAL_DATE:
                  return Iso8601Format.EXTENDED_ORDINAL_DATE;
              case EXTENDED_WEEK_DATE:
                  return Iso8601Format.EXTENDED_WEEK_DATE;
              default:
                  throw new UnsupportedOperationException(style.name());
          }
  
      }
docs: /*[deutsch]
  <p>Liefert einen {@code ChronoPrinter} mit den angegebenen Stilen zur Ausgabe eines Kalenderdatums. </p>
  
  @param   style       iso-compatible date style
  @return  ChronoPrinter
  @since   4.18