Dear Keshav,
You cannot treat any closed day as a part of leave if that happens to be before the commencement and after the end of a leave period. But any Sunday or holiday falling in between the period of leave applied would become a part of E/L or P/L, as the case may be.
However, in your case, since wednesday happens to be in between the leave period starting from tuesday, the day of Wednesday will be treated as a part of leave. In casual leave, however, any Sunday or holiday falling in between the C/L period will not count as a part of C/L in any case.