private RetentionRuleOutcome getRuleOutcome(final TimePeriod period,
                                                final DataRetentionRule rule,
                                                final Instant now) {
        final Instant ruleMinCreateTime = getEarliestRetainedCreateTime(rule, now);

        // Work out if this rule should delete or retain data in this period
        return period.getFrom().isBefore(ruleMinCreateTime)
                ? RetentionRuleOutcome.DELETE
                : RetentionRuleOutcome.RETAIN;
    }
Pkg private so we can test with a known now time
stroom-data/stroom-data-retention-impl/src/main/java/stroom/data/retention/impl/DataRetentionPolicyExecutor.java