code: public long getDuration() {
  		Status s = status;
  		if (s == Status.READY)
  			return 0;
  		if (s == Status.RUNNING)
  			return System.currentTimeMillis() - startTime;
  		return finishTime - startTime;
  	}
docs: The current or final time, in milliseconds, during which the job either
  is executed or was executed.