@Override
    public String toString() {
        final StringBuilder sb = new StringBuilder();
        if (from != null) {
            sb.append("[");
            sb.append(from);
        }
        sb.append("..");
        if (to != null) {
            sb.append(to.longValue());
            sb.append(")");
        }
        return sb.toString();
    }
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