public static String periodAsAgeStr(final TimePeriod timePeriod) {
        Objects.requireNonNull(timePeriod);
        return toPeriodOrDurationStr(timePeriod.getFrom(), timePeriod.getTo());
    }
If time is in the past then return the period from time until now().
If time is in the future then return the period from now() until time.
stroom-util/src/main/java/stroom/util/time/TimeUtils.java