code: @Override
    public DurationFormatterFactory setLocale(String localeName) {
      if (!localeName.equals(this.localeName)) {
        this.localeName = localeName;
        if (builder != null) {
            builder = builder.withLocale(localeName);
        }
        if (formatter != null) {
            formatter = formatter.withLocale(localeName);
        }
        reset();
      }
      return this;
    }
docs: Set the name of the locale that will be used when
  creating new formatters.
  
  @param localeName the name of the Locale
  @return this BasicDurationFormatterFactory