Calendar rules

Is it possible to add feature to make a calendar date and time unique, so you cannot use the same date and time if it already has an event? Or to give an error message that the particular date and time is already scheduled?