private boolean isQuoteNeeded(String text) {
        for (final OfInt it = text.codePoints().iterator(); it.hasNext();) {
            final int ch = it.nextInt();
            if (ch >= 0 && ch < 256 && NEEDS_QUOTE[ch]) {
                return true;
            }
        }
        return false;
    }
Builder for the pattern format as defined by the jquery UI datepicker, see
https://api.jqueryui.com/datepicker; and the jquery timepicker, see
http://trentrichardson.com/examples/timepicker. Wraps a {@link StringBuilder}
and provides additional convenience methods. If necessary, you can also
access the raw {@link #getStringBuilder()}.
primefaces/src/main/java/org/primefaces/convert/JQueryDateTimePatternBuilder.java