public class Filetime
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
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 |
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 convertedfiletimeToDate(long)public static boolean isUndefined(java.util.Date date)
true if the date is undefineddate - the datetrue if the date is undefinedCopyright 2018 The Apache Software Foundation or its licensors, as applicable.