Trigger various actions on different types of calendar event, and handle overlapping events wanting different ringer states in a sensible way (the "quietest" state wins). Also the start and end actions for an event can be delayed until the device is in some particular state.