public static Comparator<TimePeriod> comparingByToTime() {
        return Comparator.comparing(TimePeriod::getFrom);
    }
Gets the duration as a user readable string.
stroom-util/src/main/java/stroom/util/time/TimePeriod.java