public @NotNull @Nls String formatDuration(long duration) {
      if (padded) {
        return formatDurationPaddedMeasure(duration, durationTimeUnit);
      }
      else {
        return NlsMessages.formatDuration(duration, durationTimeUnit, maxFragments, narrow);
      }
    }
public @NotNull @Nls String formatDuration(long duration)