package admin; import java.util.Collection; /** * A day pattern specifies the occurrence of some event throughout the course * of a week. This can either be a blackout for a faculty meeting or for a * course section. * * @author aakoeppe * */ public abstract class DayPattern { public Collection dayPattern; /** * Adds a day to a pattern. * * @param day * the day to add to the pattern */ public abstract void addDay(DayOfWeek day); public abstract int compareTo(DayPattern other); }