Class Unix.Time

  • Enclosing class:
    Unix

    public static final class Unix.Time
    extends java.lang.Object
    A class to represent a Unix struct timespec that holds a system time in nano-second resolution.
    • Method Detail

      • getSecs

        public long getSecs()
      • getNanoSecPart

        public long getNanoSecPart()
      • getMicroSecPart

        public long getMicroSecPart()
      • getMilliSecPart

        public long getMilliSecPart()
      • getMillis

        public long getMillis()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object