java.lang.Object
com.aoapps.sql.NanoInterval
- All Implemented Interfaces:
Serializable
,Comparable<NanoInterval>
Encapsulates an interval in nanoseconds.
- Author:
- AO Industries, Inc.
- See Also:
-
Constructor Details
-
NanoInterval
public NanoInterval(long intervalNanos)
-
-
Method Details
-
getIntervalNanos
public long getIntervalNanos()Gets the interval in nanoseconds. -
toString
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<NanoInterval>
-