public DateTimeFormatterBuilder appendLiteral(String literal){
  Objects.requireNonNull(literal,"literal");
  if (literal.length() > 0) {
    if (literal.length() == 1) {
      appendInternal(new CharLiteralPrinterParser(literal.charAt(0)));
    }
 else {
      appendInternal(new StringLiteralPrinterParser(literal));
    }
  }
  return this;
}

public DateTimeFormatterBuilder appendLiteral ( String literal ) { Objects . requireNonNull ( literal , "literal" ) ; if ( literal . length ( ) > 0 ) { if ( literal . length ( ) == 1 ) { appendInternal ( new CharLiteralPrinterParser ( literal . charAt ( 0 ) ) ) ; } else { appendInternal ( new StringLiteralPrinterParser ( literal ) ) ; } } return this ; }
appends a string literal to the formatter . < p > this string will be output during a format . < p > if the literal is empty , nothing is added to the formatter .
