|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.util.Time
@Deprecated public class Time
A helper class for working with times in various units
Constructor Summary | |
---|---|
Time(long number,
TimeUnit timeUnit)
Deprecated. |
Method Summary | |
---|---|
static Time |
days(long value)
Deprecated. |
protected static long |
daysAsSeconds(long value)
Deprecated. |
long |
getNumber()
Deprecated. |
TimeUnit |
getTimeUnit()
Deprecated. |
static Time |
hours(long value)
Deprecated. |
protected static long |
hoursAsSeconds(long value)
Deprecated. |
static Time |
millis(long value)
Deprecated. |
static Time |
minutes(long value)
Deprecated. |
protected static long |
minutesAsSeconds(long value)
Deprecated. |
static Time |
seconds(long value)
Deprecated. |
Date |
toDate()
Deprecated. |
long |
toMillis()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Time(long number, TimeUnit timeUnit)
Method Detail |
---|
public static Time millis(long value)
public static Time seconds(long value)
public static Time minutes(long value)
public static Time hours(long value)
public static Time days(long value)
public long toMillis()
public Date toDate()
public long getNumber()
public TimeUnit getTimeUnit()
protected static long minutesAsSeconds(long value)
protected static long hoursAsSeconds(long value)
protected static long daysAsSeconds(long value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |