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

var wellesley_fall_2009_start = new Date(2009, 8, 8); // month is 0-11
var wellesley_fall_2009_end   = new Date(2009, 11, 11);

function add_wellesley_fall_2009_holidays(cal)
{
        cal.add_holidays("12Oct", "Fall Break",
                         "03Nov", "Tanner Conference",
                         "26Nov", "Thanksgiving",
                         "27Nov", "Thanksgiving Break");
}

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

        cal.add_info("18Sep", blank_line, admin_note("Add period ends"));
        cal.add_info("02Oct", blank_line, admin_note("Drop deadline; Credit/Non-credit ends"));
        cal.add_info("30Sep", blank_line, admin_note("2010 major confirmation forms due"));
        cal.add_info("14Oct", blank_line, admin_note("Monday Schedule"));
        cal.add_info("28Oct", blank_line, admin_note("Mid-semester warnings due"));
        cal.add_info("09Nov", admin_note("Registration for Spring 2010 begins"));
        cal.add_info("12Nov", blank_line, admin_note("Registration for Spring 2010 ends"));
        cal.add_info("11Dec", blank_line, admin_note("Last day of classes"));
        cal.add_info("12Dec", blank_line, admin_note("Reading period begins"));
        cal.add_info("15Dec", blank_line, admin_note("Final exams begin"));
        cal.add_info("21Dec", 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_fall_2009_calendar = new Calendar(wellesley_fall_2009_start,
                                                wellesley_fall_2009_end);

add_wellesley_fall_2009_holidays(wellesley_fall_2009_calendar);


