Added the posibility of create time windows that starts one day and finish the following day.