示例#1
0
 /**
  * Gets the string that says how long since this build has scheduled.
  *
  * @return string like "3 minutes" "1 day" etc.
  */
 public String getTimestampString() {
   long duration = System.currentTimeMillis() - timestamp.getTime();
   return Util.getPastTimeString(duration);
 }