|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlibrarytest.TimeIgnoringComparator
public class TimeIgnoringComparator
Original version returned an int that indicated before or after but did not give number of days This version is modified to give number of days
Constructor Summary | |
---|---|
TimeIgnoringComparator()
|
Method Summary | |
---|---|
int |
compare(java.util.Calendar c1,
java.util.Calendar c2)
This method takes in two dates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public TimeIgnoringComparator()
Method Detail |
---|
public int compare(java.util.Calendar c1, java.util.Calendar c2)
compare
in interface java.util.Comparator<java.util.Calendar>
c1
- c2
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |