Package net.sourceforge.pmd
Class Report.ReadableDuration
- java.lang.Object
-
- net.sourceforge.pmd.Report.ReadableDuration
-
- Enclosing class:
- Report
public static class Report.ReadableDuration extends java.lang.Object
Represents a duration. Useful for reporting processing time.
-
-
Constructor Summary
Constructors Constructor Description ReadableDuration(long duration)
Creates a new duration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTime()
Gets a human readable representation of the duration, such as "1h 3m 5s".
-