5960616263646566
} @Override public Duration elapsedTime() { if (stopped.getTime() < started.getTime()) throw new ClassInvariantViolation("please start the stop watch before stopping it"); return millis(stopped.getTime() - started.getTime()); }
5758596061626364
} @Override public Duration elapsedTime() { if (stopped.get() < started.get()) throw new ClassInvariantViolation("please start the stop watch before stopping it"); return millis(stopped.get() - started.get()); }