code: @Override
      public boolean isSupported(TemporalField field) {
          if (field instanceof ChronoField) {
              ChronoField f = (ChronoField) field;
              return f.isDateBased() || f.isTimeBased();
          }
          return field != null && field.isSupportedBy(this);
      }
docs: -----------------------------------------------------------------------