public class MsDataTypes
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NANO100_TO_MILLI |
static long |
WINDOWS_TO_UNIX_EPOCH |
| Modifier and Type | Method and Description |
|---|---|
static long |
nowAsFileTime()
A 64-bit unsigned integer that contains the current system time, represented
as the number of 100 nanosecond ticks elapsed since midnight of January 1, 1601 (UTC)
|
static void |
putGuid(java.util.UUID guid,
Buffer<?> buffer)
[MS-DTYP].pdf 2.3.4.2 GUID Packet representation
|
static java.util.Date |
readFileTime(Buffer<?> buffer)
[MS-DTYP].pdf 2.3.3 FILETIME
|
static java.util.UUID |
readGuid(Buffer<?> buffer)
[MS-DTYP].pdf 2.3.4.2 GUID Packet representation
|
public static final int NANO100_TO_MILLI
public static final long WINDOWS_TO_UNIX_EPOCH
public static void putGuid(java.util.UUID guid,
Buffer<?> buffer)
guid - The GUID to write.public static java.util.UUID readGuid(Buffer<?> buffer) throws Buffer.BufferException
Buffer.BufferException - If an underflow occurs by reading the GUID (less than 16 bytes available).public static java.util.Date readFileTime(Buffer<?> buffer) throws Buffer.BufferException
Buffer.BufferException - If an underflow occurs by reading the FILETIME (less than 8 bytes available).public static long nowAsFileTime()