/** * Gets the elapsed time in milliseconds between the start date of the * first elapsed time and the end of the last elapsed time. If there * are no previous elapsed time, this method has the same effect * as calling {@link #getDuration()}. * @return the total elapsed time */ public final long getTotalDuration() { return getDuration() + getResumedDuration(); }
public long getDuration() { return status.getDuration().getDuration(); } public void setNote(String note) {