This is the example code from http://www.catalystframework.org/calendar/2011/15