@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final Range<?> range = (Range<?>) o;
        return Objects.equals(from, range.from) &&
                Objects.equals(to, range.to) &&
                matchNull == range.matchNull;
    }
Determine if a supplied time is within this period. Used for mock stream
store.
stroom-util-shared/src/main/java/stroom/util/shared/Range.java