com.ontimize.gui.table
Class TableSorter.DayMonthYear
java.lang.Object
com.ontimize.gui.table.TableSorter.DayMonthYear
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- TableSorter.MonthYear
- Enclosing class:
- TableSorter
- protected static class TableSorter.DayMonthYear
- extends java.lang.Object
- implements java.lang.Comparable
Class that contains date information with day, month and year, to allow
fast comparisons when sorting.
|
Field Summary |
protected int |
d
|
protected int |
m
|
protected java.lang.String |
rep
|
protected int |
t
|
protected long |
time
|
protected int |
y
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
rep
protected java.lang.String rep
d
protected int d
m
protected int m
y
protected int y
t
protected int t
time
protected long time
TableSorter.DayMonthYear
public TableSorter.DayMonthYear(int d,
int m,
int y,
long time)
getTime
public long getTime()
equals
public boolean equals(java.lang.Object o)
toString
public java.lang.String toString()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo in interface java.lang.Comparable