correct the case where begin and end date are the same.
( full day  start at 0h00 and end at 23:59 )  so we should be able to have the same day on begin and end day.