|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.annotation.DateInterval
@DateRange(startDate="from",
endDate="to")
public class DateIntervalObjects representing an interval of dates. It is aiming for tests on the DateRangeValidator validation.
| Constructor Summary | |
|---|---|
DateInterval(Datable<?> startDate,
Datable<?> endDate)
Constructs a new interval from the two specified dates. |
|
| Method Summary | |
|---|---|
Datable<?> |
getEndDate()
Gets the end date of the interval. |
Datable<?> |
getStartDate()
Gets the start date of the interval. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateInterval(Datable<?> startDate,
Datable<?> endDate)
startDate - the start date of the interval.endDate - the end date of the interval.| Method Detail |
|---|
public Datable<?> getStartDate()
public Datable<?> getEndDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||