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 Details

    • getStartDate

      Date getStartDate()
      The date when the IPeriod starts.
      Returns:
      the startDate
    • setStartDate

      void setStartDate(Date startDate)
      Parameters:
      startDate - the startDate to set
      See Also:
      getStartDate()
    • getEndDate

      Date getEndDate()
      The date when the IPeriod stops.
      Returns:
      the endDate
    • setEndDate

      void setEndDate(Date endDate)
      Parameters:
      endDate - the endDate to set
      See Also:
      getEndDate()
    • getIntervalString

      String getIntervalString()
      String representation of the DefaultPeriod including the start date and the end date.
      Returns:
      the IPeriod String representation