org.apache.camel.util
Class TimeUtils

java.lang.Object
  extended by org.apache.camel.util.TimeUtils

public final class TimeUtils
extends Object

Time utils.

Version:

Method Summary
static String printDuration(double uptime)
          Prints the duration in a human readable format as X days Y hours Z minutes etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

printDuration

public static String printDuration(double uptime)
Prints the duration in a human readable format as X days Y hours Z minutes etc.

Parameters:
uptime - the uptime in millis
Returns:
the time used for displaying on screen or in logs


Apache Camel