jnr.posix.windows.WindowsFileTime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cassandra-driver Show documentation
Show all versions of cassandra-driver Show documentation
Shaded version of DataStax Java Driver for Apache Cassandra
package jnr.posix.windows;
/**
* FILETIME
*/
public class WindowsFileTime extends jnr.ffi.Struct {
final Unsigned32 lowDateTime = new Unsigned32();
final Unsigned32 highDateTime = new Unsigned32();
public WindowsFileTime(jnr.ffi.Runtime runtime) {
super(runtime);
}
public int getLowDateTime() {
return lowDateTime.intValue();
}
public int getHighDateTime() {
return highDateTime.intValue();
}
public long getLongValue() {
return getHighDateTime() << 32 + getLowDateTime();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy