allow relative startTime and endTime