closeTime to endTime