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;
}

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 ; }
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 .
