public class TimeDiff extends Object implements Comparable<TimeDiff>
| Modifier and Type | Field and Description |
|---|---|
protected long |
diff |
| Constructor and Description |
|---|
TimeDiff(Date t0,
Date t1) |
TimeDiff(Date t0,
Date t1,
boolean abs) |
TimeDiff(long timediff) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TimeDiff o) |
boolean |
equals(Object obj) |
long |
getValue() |
int |
hashCode() |
String |
toString() |
public long getValue()
public int compareTo(TimeDiff o)
compareTo in interface Comparable<TimeDiff>Copyright © 2018. All rights reserved.