docs: public static String durationToFormattedString(final Duration duration) {
          if (duration == null) {
              return null;
          }
  
          return LocalTime.ofNanoOfDay(duration.toNanos()).format(DateTimeFormatter.ofPattern(DURATION_FORMAT));
      }