code: private String zGetStandardTextFieldDateString(LocalDate date) {
          if (settings == null) {
              return "";
          }
          String standardDateString = "";
          if (date == null) {
              return standardDateString;
          }
          if (date.getEra() == IsoEra.CE) {
              standardDateString = date.format(settings.getFormatForDatesCommonEra());
          } else {
              standardDateString = date.format(settings.getFormatForDatesBeforeCommonEra());
          }
          return standardDateString;
      }
docs: zGetStandardTextFieldDateString, This returns a string for the supplied date (or null), in
  the standard format which could be used for displaying that date in the text field.