public static Instant durationToThreshold(final Duration duration) {
        return durationToThreshold(Instant.now(), duration);
    }
Converts a duration, e.g. 30days into a point in time in the past, i.e.
current system time minus the duration.
stroom-util/src/main/java/stroom/util/time/TimeUtils.java