code: public CharSequence format(Formatter formatter) {
      CharSequence input = format();
      return formatter.format(String.valueOf(input));
    }
docs: Returns CharSequence formatted with custom formatter implementation
  
  @param formatter implementation
  @return formatted CharSequence