Package PamUtils
Class TimeRangeFormatter
java.lang.Object
PamUtils.TimeRangeFormatter
Class to format time ranges, particularly when they get quite large and doing them
in seconds no longer makes sense.
Want something along the lines of
if an integer number of days, then just days,
if an integer number of hours, then days and hours
if an integer numeber of minutes, then days, hours, minutes
if an integer number of seconds, then days, hours, minutes, seconds
etc.
Want something along the lines of
if an integer number of days, then just days,
if an integer number of hours, then days and hours
if an integer numeber of minutes, then days, hours, minutes
if an integer number of seconds, then days, hours, minutes, seconds
etc.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TimeRangeFormatter
public TimeRangeFormatter()
-
-
Method Details
-
formatTime
-
readTime
-