public String formatString(Duration duration) {
        return PlainTextComponentSerializer.plainText().serialize(TranslationManager.render(format(duration)));
    }
Formats {@code duration} as a string.

@param duration the duration
@return the formatted string
common/src/main/java/me/lucko/luckperms/common/util/DurationFormatter.java