Class Duration
java.lang.Object
com.carrotsearch.ant.tasks.junit4.Duration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static long
emitOrSkip
(long value, StringBuilder str, long unit, String unitName, boolean skipEmpty) static CharSequence
toHumanDuration
(long duration) Format a duration in milliseconds to a human string (in English).
-
Constructor Details
-
Duration
public Duration()
-
-
Method Details
-
toHumanDuration
Format a duration in milliseconds to a human string (in English). -
emitOrSkip
private static long emitOrSkip(long value, StringBuilder str, long unit, String unitName, boolean skipEmpty)
-