@Contract(pure = true)
  public static @NotNull @Nls String formatDuration(long duration, int maxFragments, boolean narrow) {
    return new NlsDurationFormatter()
      .setDurationTimeUnit(TimeUnit.MILLISECONDS)
      .setNarrow(narrow)
      .setMaxFragments(maxFragments)
      .formatDuration(duration);
  }
@Contract(pure = true)
  public static @NotNull @Nls String formatDuration(long duration, int maxFragments, boolean narrow)