| Package | Description |
|---|---|
| horstmann.ch03_junit |
| Modifier and Type | Method and Description |
|---|---|
Day |
Day.addDays(int n)
Returns a day that is a certain number of days away from
this day
|
private Day |
Day.nextDay()
Computes the next day.
|
private Day |
Day.previousDay()
Computes the previous day.
|
| Modifier and Type | Method and Description |
|---|---|
private int |
Day.compareTo(Day other)
Compares this day with another day.
|
int |
Day.daysFrom(Day other)
Returns the number of days between this day and another
day
|