public boolean hasBoundedEnd() {
        return locationTo != null
                || charOffsetTo != null
                || length != null
                || byteOffsetTo != null;
    }
@return The number of chars in the range
stroom-util-shared/src/main/java/stroom/util/shared/DataRange.java