This goes especially for exams and other things that are compulsory and/or cannot be easily rescheduled, as it allows students to plan their schedules in advance and to make an informed decision on whether they will be able to properly attend your course.