public Long duration() {
        if (getFrom() != null && getTo() != null) {
            return getTo() - getFrom();
        }
        return null;
    }
Gets the duration as a user readable string.
stroom-util/src/main/java/stroom/util/Period.java