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