diff --git a/src/main/java/sim/SimulatorMetaData.java b/src/main/java/sim/SimulatorMetaData.java index f03adfd..cb6b730 100644 --- a/src/main/java/sim/SimulatorMetaData.java +++ b/src/main/java/sim/SimulatorMetaData.java @@ -70,6 +70,7 @@ public void setDuration(long start) { long minutes = TimeUnit.MILLISECONDS.toMinutes(diff) - TimeUnit.HOURS.toMinutes(hours); long seconds = TimeUnit.MILLISECONDS.toSeconds(diff) - + TimeUnit.HOURS.toSeconds(hours) - TimeUnit.MINUTES.toSeconds(minutes); duration = String.format("%d hour, %d min, %d sec", hours, minutes,