org.oddjob.arooa.utils
Class DurationFormatter

java.lang.Object
  extended by org.oddjob.arooa.utils.DurationFormatter

public class DurationFormatter
extends Object


Field Summary
static long ONE_DAY
           
static long ONE_HOUR
           
static long ONE_MINUTE
           
static long ONE_SECOND
           
 
Constructor Summary
DurationFormatter()
           
 
Method Summary
 long parseTime(String time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONE_SECOND

public static final long ONE_SECOND
See Also:
Constant Field Values

ONE_MINUTE

public static final long ONE_MINUTE
See Also:
Constant Field Values

ONE_HOUR

public static final long ONE_HOUR
See Also:
Constant Field Values

ONE_DAY

public static final long ONE_DAY
See Also:
Constant Field Values
Constructor Detail

DurationFormatter

public DurationFormatter()
Method Detail

parseTime

public long parseTime(String time)
               throws ParseException
Throws:
ParseException