Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
public final class Interval extends Object implements Serializable, Comparable<Interval>
| Constructor and Description |
|---|
Interval(long seconds) |
Interval(long minutes,
long seconds) |
Interval(long hours,
long minutes,
long seconds) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Interval o) |
long |
getInterval()
Gets the interval in seconds.
|
String |
toString() |
static String |
toString(long interval) |
public Interval(long seconds)
public Interval(long minutes,
long seconds)
public Interval(long hours,
long minutes,
long seconds)
public long getInterval()
public static String toString(long interval)
public int compareTo(Interval o)
compareTo in interface Comparable<Interval>Copyright © 2000–2016 AO Industries, Inc.. All rights reserved.