|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.uhn.cache.internal.util.UTC
Utility class to handle time and Univertal Time Coordinates (UTC).
Method Summary | |
static java.util.Date |
currentTime()
|
static java.util.Date |
fromCurrentTime(int theYearsDelta,
int theMonthsDelta,
int theDaysDelta)
Time Arithmetic function. |
static java.util.Date |
fromCurrentTime(long theMillis)
Time Arithmetic function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final java.util.Date currentTime()
public static final java.util.Date fromCurrentTime(int theYearsDelta, int theMonthsDelta, int theDaysDelta)
currentTime
and returns it.
theYearsDelta
- The years to add.theMonthsDelta
- The months to add.theDaysDelta
- The days to add.
public static final java.util.Date fromCurrentTime(long theMillis)
currentTime
and returns it.
theMillis
- The milliseconds to add.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |