|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jgd.Util
public class Util
Utils for GDS API
Field Summary | |
---|---|
private static long |
EPOCH_DIFF
Difference between the Windows epoch (1601-01-01 00:00:00) and the Unix epoch (1970-01-01 00:00:00) in milliseconds: 11644473600000L. |
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static long |
dateToFileTime(java.util.Date date)
Converts a Date into a filetime. |
static java.util.Date |
filetimeToDate(long filetime)
Converts a Windows FILETIME into a Date. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long EPOCH_DIFF
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static java.util.Date filetimeToDate(long filetime)
public static long dateToFileTime(java.util.Date date)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |