Employee needs to request half day leaves either in the first half of the day

It is quite common that an Employee needs to request half day leaves either in the first half of the day or in the second half of the day. Hence, it is required that Employee enters additional information about the leave i.e. whether the leave was taken in the first half or the second half.
Or mark attendance for the first half or second half as per their need.
Is there any functionality available in the system for the same or can deal with sandwich rule of leave application? (ex: If an employee has taken one day EL, he can not avail CL on the consecutive day of the leave or he can avail leave only if he has attended first half for that day)@ankush @Jannat_Patel