code: private String zGetStandardTextFieldTimeString(LocalTime time) {
          String standardTimeString = "";
          if (time == null) {
              return standardTimeString;
          }
          standardTimeString = time.format(settings.getFormatForDisplayTime());
          return standardTimeString;
      }
docs: zGetStandardTextFieldTimeString, This returns a string for the supplied time (or null), in
  the standard format which could be used for displaying that time in the text field.