Package com.sun.jna.platform.win32
Klasse WinBase.FILETIME
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinBase.FILETIME
- Bekannte direkte Unterklassen:
WinBase.FILETIME.ByReference
- Umschließende Schnittstelle:
WinBase
@FieldOrder({"dwLowDateTime","dwHighDateTime"})
public static class WinBase.FILETIME
extends Structure
The FILETIME structure is a 64-bit value representing the number of
100-nanosecond intervals since January 1, 1601 (UTC).
Conversion code in this class Copyright 2002-2004 Apache Software Foundation.
- Autor:
- Rainer Klute ([email protected]) for the Apache Software Foundation (org.apache.poi.hpsf)
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Klasse geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.Structure
Structure.ByValue, Structure.FieldOrder, Structure.StructField
-
Feldübersicht
FelderVon Klasse geerbte Felder com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic long
dateToFileTime
(Date date) Converts aDate
into a filetime.static Date
filetimeToDate
(int high, int low) Converts a Windows FILETIME into aDate
.toDate()
Converts this filetime into aDate
Converts the two 32-bit unsigned integer parts of this filetime into a 64-bit unsigned integer representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).toString()
Ifjna.dump_memory
is true, will include a native memory dump of the Structure's backing memory.long
toTime()
Converts this filetime into a number of milliseconds which have passed since January 1, 1970 (UTC).Von Klasse geerbte Methoden com.sun.jna.Structure
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
-
Felddetails
-
dwLowDateTime
public int dwLowDateTime -
dwHighDateTime
public int dwHighDateTime
-
-
Konstruktordetails
-
FILETIME
-
FILETIME
Construct FILETIME from LARGE_INTEGER- Parameter:
ft
-
-
FILETIME
public FILETIME() -
FILETIME
-
-
Methodendetails
-
filetimeToDate
Converts a Windows FILETIME into a
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. This 64-bit value is split into the two double words stored in the structure.- Parameter:
high
- The higher double word of the FILETIME structure.low
- The lower double word of the FILETIME structure.- Gibt zurück:
- The Windows FILETIME as a
Date
.
-
dateToFileTime
Converts a
Date
into a filetime.- Parameter:
date
- The date to be converted- Gibt zurück:
- The filetime
- Siehe auch:
-
toDate
Converts this filetime into a
Date
- Gibt zurück:
- The
Date
represented by this filetime.
-
toTime
public long toTime()Converts this filetime into a number of milliseconds which have passed since January 1, 1970 (UTC).
- Gibt zurück:
- This filetime as a number of milliseconds which have passed since January 1, 1970 (UTC)
-
toDWordLong
Converts the two 32-bit unsigned integer parts of this filetime into a 64-bit unsigned integer representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).
- Gibt zurück:
- This filetime as a 64-bit unsigned integer number of 100-nanosecond intervals since January 1, 1601 (UTC).
-
toString
Beschreibung aus Klasse kopiert:Structure
Ifjna.dump_memory
is true, will include a native memory dump of the Structure's backing memory.
-