more flexible date period