/*
 *   Holidays and Administrative deadlins for Wellesley College, Spring 2008
 *
 *   For future use, one may as well put in all the dates for the entire year.
 *   Only entries withing the calendar's date interval will get rendered.
 */

var wellesley_spring_2008_start = new Date(2008, 0, 28);  /* 28 January 2008 */
var wellesley_spring_2008_end   = new Date(2008, 4, 19);  /* 19 May     2008 */

function add_wellesley_spring_2008_holidays(cal)
{
	cal.add_holidays("18Feb", "President's Day",
			 "24Mar", "Spring Break",
			 "25Mar", "Spring Break",
			 "26Mar", "Spring Break",
			 "27Mar", "Spring Break",
			 "28Mar", "Spring Break",
			 "21Apr", "Patriots' Day",
			 "30Apr", "Ruhlman Conference");
}

function add_wellesley_spring_2008_admin(cal)
{
	var blank_line = ""; /* causes add_info() to make blank line */

	cal.add_info("08Feb", blank_line, admin_note("Add period ends"));
	cal.add_info("15Feb", blank_line,
		              admin_note("Credit/Non-credit ends"));
	cal.add_info("22Feb", blank_line, admin_note("Drop deadline"));
	cal.add_info("07Mar", blank_line, 
                              admin_note("2010 major declarations"));
	cal.add_info("22Apr", blank_line, admin_note("Monday Schedule"));
	cal.add_info("22Apr", admin_note("Registration for Fall 2008 begins"));
	cal.add_info("24Apr", blank_line,
		              admin_note("Registration for Fall 2008 ends"));
	cal.add_info("24Apr", admin_note("Honors papers due"));
	cal.add_info("07May", blank_line, admin_note("Last day of classes"));
	cal.add_info("08May", blank_line, admin_note("Reading period begins"));
	cal.add_info("12May", blank_line, admin_note("Reading period ends"));
	cal.add_info("13May", blank_line, admin_note("Final exams begin"));
	cal.add_info("19May", blank_line, admin_note("Final exams end"));
}

/* If someone wants a pre-made calendar that they can just add their
 * course items to, here it is.  The administrative dates are NOT
 * included here, because a) my intuition is that some people may not
 * want the administrative dates and b) if they do want them, they
 * will likely want them at the bottom of each calendar day (after any
 * course content).  So, they can call the above function if they want.
 */

var wellesley_spring_2008_calendar = new Calendar(wellesley_spring_2008_start,
                                                  wellesley_spring_2008_end);

add_wellesley_spring_2008_holidays(wellesley_spring_2008_calendar);


