private boolean readable() {
    return this.last != -1;
  }
StringBuilder sb = new StringBuilder(); String sep = ""; if (dd > 0) { String unit = (dd > 1)
? "days" : "day"; sb.append(String.format("%s%d%s", sep, dd, unit)); sep = " "; } if (hh > 0)
{ String unit = (hh > 1) ? "hrs" : "hr"; sb.append(String.format("%s%d%s", sep, hh, unit));
sep = " "; } if (mm > 0) { String unit = (mm > 1) ? "mins" : "min";
sb.append(String.format("%s%d%s", sep, mm, unit)); sep = " "; } if (ss > 0) { String unit =
(ss > 1) ? "secs" : "sec"; sb.append(String.format("%s%.3f%s", sep, ss, unit)); sep = " "; }
return sb.toString();
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/NanoTimer.java