public CharSequence format(Formatter formatter){
  CharSequence input=format();
  return formatter.format(String.valueOf(input));
}

public CharSequence format ( Formatter formatter ) { CharSequence input = format ( ) ; return formatter . format ( String . valueOf ( input ) ) ; }
returns charsequence formatted with custom formatter implementation
