@FieldOrder({"wYear","wMonth","wDayOfWeek","wDay","wHour","wMinute","wSecond","wMilliseconds"}) public static class WinBase.SYSTEMTIME extends Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
Modifier and Type | Field | Description |
---|---|---|
short |
wDay |
|
short |
wDayOfWeek |
|
short |
wHour |
|
short |
wMilliseconds |
|
short |
wMinute |
|
short |
wMonth |
|
short |
wSecond |
|
short |
wYear |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor | Description |
---|---|
SYSTEMTIME() |
|
SYSTEMTIME(long timestamp) |
|
SYSTEMTIME(java.util.Calendar cal) |
|
SYSTEMTIME(java.util.Date date) |
Modifier and Type | Method | Description |
---|---|---|
void |
fromCalendar(java.util.Calendar cal) |
|
java.util.Calendar |
toCalendar() |
|
java.lang.String |
toString() |
If
jna.dump_memory is true, will include a native memory dump
of the Structure's backing memory. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField, writeField
public short wYear
public short wMonth
public short wDayOfWeek
public short wDay
public short wHour
public short wMinute
public short wSecond
public short wMilliseconds
public SYSTEMTIME()
public SYSTEMTIME(java.util.Date date)
public SYSTEMTIME(long timestamp)
public SYSTEMTIME(java.util.Calendar cal)