The timetable classes that we use for the citylife platform. (Python and Javascript implementation.)