code: public void setFormatsForParsing(ArrayList<DateTimeFormatter> formatsForParsing) {
          this.formatsForParsingStrict = new ArrayList<DateTimeFormatter>();
          for (DateTimeFormatter format : formatsForParsing) {
              this.formatsForParsingStrict.add(format.withResolverStyle(ResolverStyle.STRICT));
          }
      }
docs: setFormatsForParsing, This holds a list of formats that are used to attempt to parse dates
  that are typed by the user. When parsing a date, these formats are tried in the order that
  they appear in this list. Note that the formatForDatesCommonEra and
  formatForDatesBeforeCommonEra are always tried (in that order) before any other parsing
  formats. The default values for the formatsForParsing are generated using the pickerLocale,
  using the enum constants in java.time.format.FormatStyle.