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 theIPeriodstops.String representation of the DefaultPeriod including thestart dateand theend date.The date when theIPeriodstarts.voidsetEndDate(Date endDate)voidsetStartDate(Date startDate)
-
Method Details
-
getStartDate
Date getStartDate()The date when theIPeriodstarts.- Returns:
- the startDate
-
setStartDate
- Parameters:
startDate- the startDate to set- See Also:
getStartDate()
-
getEndDate
Date getEndDate()The date when theIPeriodstops.- Returns:
- the endDate
-
setEndDate
- Parameters:
endDate- the endDate to set- See Also:
getEndDate()
-
getIntervalString
String getIntervalString()String representation of the DefaultPeriod including thestart dateand theend date.- Returns:
- the
IPeriodString representation
-