code: public String getDisplayName(TextStyle style, Locale locale) {
          return new DateTimeFormatterBuilder().appendChronologyText(style).toFormatter(locale).format(new DefaultInterfaceTemporalAccessor() {
              @Override
              public boolean isSupported(TemporalField field) {
                  return false;
              }
              @Override
              public long getLong(TemporalField field) {
                  throw new UnsupportedTemporalTypeException("Unsupported field: " + field);
              }
              @SuppressWarnings("unchecked")
              @Override
              public <R> R query(TemporalQuery<R> query) {
                  if (query == TemporalQueries.chronology()) {
                      return (R) Chronology.this;
                  }
                  return super.query(query);
              }
          });
      }
docs: Gets the textual representation of this chronology.
  <p>
  This returns the textual name used to identify the chronology.
  The parameters control the style of the returned text and the locale.
  
  @param style  the style of the text required, not null
  @param locale  the locale to use, not null
  @return the text value of the chronology, not null