public class FileTime
extends com.jniwrapper.Structure
Constructor and Description |
---|
FileTime()
Creates instance of the
FileTime |
FileTime(FileTime that)
Creates instance of the
FileTime from the another instance of the FileTime |
FileTime(long lowDateTime,
long highDateTime)
Creates instance of the
FileTime with the specified time |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns the copy of this instance
|
void |
fromDate(java.util.Date date)
Converts the specified
Date value to the internal presentation of FILETIME format. |
long |
getHighDateTime()
Returns high-order part of the file time.
|
long |
getLowDateTime()
Returns low-order part of the file time.
|
void |
setHighDateTime(long value)
Sets high-order part of the file time.
|
void |
setLowDateTime(long value)
Sets low-order part of the file time.
|
java.util.Date |
toDate()
Converts the value of this
FILETIME structure to Java Date format. |
acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
public FileTime()
FileTime
public FileTime(long lowDateTime, long highDateTime)
FileTime
with the specified timelowDateTime
- The low-order part of the file timehighDateTime
- The high-order part of the file timepublic FileTime(FileTime that)
FileTime
from the another instance of the FileTime
that
- Instance of the FileTime
public long getLowDateTime()
public void setLowDateTime(long value)
value
- Low-order part of the file time.public long getHighDateTime()
public void setHighDateTime(long value)
value
- High-order part of the file time.public java.util.Date toDate()
FILETIME
structure to Java Date
format.public void fromDate(java.util.Date date)
Date
value to the internal presentation of FILETIME
format.date
- the date to setpublic java.lang.Object clone()
clone
in class com.jniwrapper.Structure