public final boolean adjacent ( final DateRange range ) { boolean adjacent = false ; if ( rangeStart . equals ( range . getRangeEnd ( ) ) ) { adjacent = true ; } else if ( rangeEnd . equals ( range . getRangeStart ( ) ) ) { adjacent = true ; } return adjacent ; }
Decides whether these periods are serial without a gap .