added calendar support for timetable and timegrids