code: public String toHHMMSS(String delimiter) {
      String outString = "";
      outString += (getHours() < 10 ? "0" + getHours() : "" + getHours()) + delimiter;
      outString += (getMinutes() < 10 ? "0" + getMinutes() : "" + getMinutes()) + delimiter;
      outString += (getSeconds() < 10 ? "0" + getSeconds() : "" + getSeconds());
      return outString;
    }
docs: Units smaller than seconds are ignored completely. For example the HH:MM:SS:FF string
  "01:03:05:07" would return "01:03:05"
  
  @param delimiter
  @return the total time in hh:mm:ss format where ":" is specified by the delimiter parameter.