|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hpsf.Filetime
public class Filetime
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 . |
static boolean |
isUndefined(java.util.Date date)
Return true if the date is undefined |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Date filetimeToDate(long filetime)
Date
. The Windows
FILETIME structure holds a date and time associated with a
file. The structure identifies a 64-bit integer specifying the
number of 100-nanosecond intervals which have passed since
January 1, 1601.
filetime
- The filetime to convert.
Date
.public static long dateToFileTime(java.util.Date date)
Date
into a filetime.
date
- The date to be converted
filetimeToDate(long)
public static boolean isUndefined(java.util.Date date)
true
if the date is undefined
date
- the date
true
if the date is undefined
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |