@Override
    public final int hashCode() {
        final HashCodeBuilder builder = new HashCodeBuilder();
        builder.append(from);
        builder.append(to);
        builder.append(matchNull);
        return builder.toHashCode();
    }
Determine if a supplied time is within this period. Used for mock stream
store.
stroom-legacy/stroom-legacy-model_6_1/src/main/java/stroom/legacy/model_6_1/Range.java