Package be.gaudry.model.date
Interface IPeriod
- All Known Implementing Classes:
CourseAdapter
,DefaultPeriod
,ExaminationAdapter
,Period
,PeriodAdapter
,SchoolYear
,SchoolYearAdapter
public interface IPeriod
The IPeriod defines the contract needed to manage a time from a
start date
to an end date
.
Provided by the broldev.core.model project.- Since:
- 1.0 Oct 12, 2008, broldev.core.model 0.0.1-SNAPSHOT dependency
- Version:
- 1.0 Oct 12, 2008
- Author:
- Steph GAUDRY
-
Method Summary
Modifier and TypeMethodDescriptionThe date when theIPeriod
stops.String representation of the DefaultPeriod including thestart date
and theend date
.The date when theIPeriod
starts.void
setEndDate(Date endDate)
void
setStartDate(Date startDate)
-
Method Details
-
getStartDate
Date getStartDate()The date when theIPeriod
starts.- Returns:
- the startDate
-
setStartDate
- Parameters:
startDate
- the startDate to set- See Also:
getStartDate()
-
getEndDate
Date getEndDate()The date when theIPeriod
stops.- Returns:
- the endDate
-
setEndDate
- Parameters:
endDate
- the endDate to set- See Also:
getEndDate()
-
getIntervalString
String getIntervalString()String representation of the DefaultPeriod including thestart date
and theend date
.- Returns:
- the
IPeriod
String representation
-