두 개의 기간의 중첩을 찾으려면 다음과 같은 것이 필요하다는 것을 알고 있습니다.Jodatime 중첩 방법이 같지 않음 검사가
(thisStart <= otherEnd) && (otherStart <= thisEnd)
그러나 내부 the overlaps method from Joda Time 나는
thisStart < otherEnd && otherStart < thisEnd
이 늘 특정 중복 조건을 포함 참조하십시오. 시간 =
<
JodaTime 간격은 시작 부분에 포함되며 끝에는 'start <= x
kennytm
thisStart = otherEnd = otherStart – RBz
참고 사항 : [Joda 시간의 포괄적 인 기간 확인] (http://stackoverflow.com/questions/13583944/inclusive-date-range-check-in-joda-time?rq=1) – Jesper