code: public static String convertMsToShortClockTime(long millis) {
      Preconditions.checkArgument(millis >= 0, "Negative values are not supported");
  
      long days = millis / Constants.DAY_MS;
      long hours = (millis % Constants.DAY_MS) / Constants.HOUR_MS;
      long mins = (millis % Constants.HOUR_MS) / Constants.MINUTE_MS;
      long secs = (millis % Constants.MINUTE_MS) / Constants.SECOND_MS;
  
      return String.format("%d d, %d h, %d m, and %d s", days, hours, mins, secs);
    }
docs: Converts milliseconds to short clock time.
  
  @param millis milliseconds
  @return input encoded as short clock time