code: public StringBuilder formatAndAppend(
              StringBuilder appendTo, int[] offsets, CharSequence... values) {
          return SimpleFormatterImpl.formatAndAppend(compiledPattern, appendTo, offsets, values);
      }
docs: Formats the given values, appending to the appendTo builder.
  
  @param appendTo Gets the formatted pattern and values appended.
  @param offsets offsets[i] receives the offset of where
  values[i] replaced pattern argument {i}.
  Can be null, or can be shorter or longer than values.
  If there is no {i} in the pattern, then offsets[i] is set to -1.
  @param values The argument values.
  An argument value must not be the same object as appendTo.
  values.length must be at least getArgumentLimit().
  Can be null if getArgumentLimit()==0.
  @return appendTo
  @hide draft / provisional / internal are hidden on Android