private String getPeriodInfo(final TimePeriod period, final Instant now) {
        final String fromTimeAgeStr = Instant.EPOCH.equals(period.getFrom())
                ? "EPOCH"
                : TimeUtils.instantAsAgeStr(period.getFrom(), now) + " ago";
        final String toTimeAgeStr = TimeUtils.instantAsAgeStr(period.getTo(), now);

        // Duration is better for shorter periods as Period will just say P0D for small stuff
        final String durationStr = period.getDuration().compareTo(Duration.ofDays(30)) < 0
                ? period.getDuration().toString()
                : period.getPeriod().toString();

        return LogUtil.message("{} => {} ago ({} => {}) [duration: {}]",
                fromTimeAgeStr,
                toTimeAgeStr,
                period.getFrom(),
                period.getTo(),
                TimeUtils.periodAsAgeStr(period));
    }
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