|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.hloader.util.DateUtil
Date Util class for long date arithmetic.
Complemented by the DateConverter
class that will perform the conversion
from julianDayMilliSeconds to Date. * @author Brett Dargan
Constructor Summary | |
DateUtil()
|
Method Summary | |
long |
addDays(int day)
add Days. |
java.util.Calendar |
getCal()
current calendar. |
long |
getEndOfDay()
get the final second of the day in julianMilliseconds |
long |
getStartOfDay()
getStartOf the day 00.00.00 in julianMilliseconds |
long |
getTime()
get the current time in millis |
void |
setCal(java.util.Calendar cal)
set Calendar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DateUtil()
Method Detail |
public long addDays(int day)
day
-
public long getStartOfDay()
public long getEndOfDay()
public long getTime()
public java.util.Calendar getCal()
public void setCal(java.util.Calendar cal)
cal
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |