public static String formatTime(String millis){
  String result;
  try {
    long time=Long.valueOf(millis);
    result=formatTime(time);
  }
 catch (  NumberFormatException e) {
    throw new IllegalArgumentException("Provided value must be in integer in milliseconds. Value was: " + millis);
  }
  return result;
}

public static String formatTime ( String millis ) { String result ; try { long time = Long . valueOf ( millis ) ; result = formatTime ( time ) ; } catch ( NumberFormatException e ) { throw new IllegalArgumentException ( "Provided value must be in integer in milliseconds. Value was: " + millis ) ; } return result ; }
convert the time it took to compute these results into a label to add to the scorecard .
