Class SolarisTimestruc

java.lang.Object
oshi.driver.common.unix.solaris.SolarisTimestruc

public class SolarisTimestruc extends Object
64-bit Solaris timestruc_t: seconds and nanoseconds, each 8 bytes.
  • Field Details

    • tv_sec

      public long tv_sec
    • tv_nsec

      public long tv_nsec
  • Constructor Details

    • SolarisTimestruc

      public SolarisTimestruc(ByteBuffer buff)
  • Method Details

    • toMillis

      public long toMillis()
      Returns this timestamp converted to milliseconds since the epoch.
      Returns:
      the timestamp in milliseconds