package schedule; import java.sql.Time; /** * A TimeRestriction prevents any courses from being offered in a certain time * frame. The start time is the start of the time restriction and the end time * is the end of the time restriction. * * A TimeRestriction is described in Section 2.6.5 of the requirements. * @author vforney */ public abstract class TimeRestriction { /** * The start time of the restriction. No courses can be offered between the * start and end times. */ Time start; /** * The end time of the restriction. No courses can be offered until the end * time. */ Time end; }