public class WinNtTime extends Object implements Serializable, Comparable<WinNtTime>
UnsignedLong) that counts all 100 nanosecond intervals that
have passed since midnight January 1, 1601 UTC.
Instances of this class are immutable.
| Constructor and Description |
|---|
WinNtTime(Date d)
Create a new
WinNtTime from the Date value. |
WinNtTime(UnsignedLong t)
Create a new
WinNtTime from the numerical value. |
public WinNtTime(UnsignedLong t)
WinNtTime from the numerical value.t - The time value.public UnsignedLong getTime()
public Date getDate() throws UnableToConvertException
Date value.Date value.UnableToConvertException - If the Windows NT time value is outside
the range of Java's Date.public int compareTo(WinNtTime t2)
compareTo in interface Comparable<WinNtTime>