diff --git a/src/fr/devinsy/util/SimpleChronometer.java b/src/fr/devinsy/util/SimpleChronometer.java old mode 100755 new mode 100644 index 4da6eba..d214cfa --- a/src/fr/devinsy/util/SimpleChronometer.java +++ b/src/fr/devinsy/util/SimpleChronometer.java @@ -60,17 +60,25 @@ public class SimpleChronometer { result = interval + " ms"; } + else if (interval < 2*1000) + { + result = interval/1000 + " seconde"; + } else if (interval < 60*1000) { - result = interval/1000 + " s"; + result = interval/1000 + " secondes"; + } + else if (interval < 2*60*1000L) + { + result = interval/(60*1000L) + " minute"; } else if (interval < 60*60*1000L) { - result = interval/(60*1000L) + " mn"; + result = interval/(60*1000L) + " minutes"; } else if (interval < 2*60*60*1000L) { - result = interval/(60*1000L) + " heure"; + result = interval/(60*60*1000L) + " heure"; } else if (interval < 24*60*60*1000L) {