if u are present one day before Eid, you should get the Eid Holidays. Similarly if you join the office on Thursday you should get paid for Friday also.