@Test
    void simpleDateFormatExamples() {
        assertConvertsDifferently("yy.mm.dd G' at 'HH:mm:ss z", "yy.mm.dd G 'TTt' HH:mm:ss z",
                "yyyy.MM.dd G 'at' HH:mm:ss z");
        assertConvertsSame("D, M d, ''y", "EEE, MMM d, ''yy");
        assertConvertsSame("h:mm TT", "h:mm a");
        assertConvertsDifferently("hh' o''clock 'TT, z", "hh 'o''clock' TT, zzzz", "hh 'o''clock' a, zzzz");
        assertConvertsSame("K:mm TT, z", "K:mm a, z");
        assertConvertsSame("yy.MM.dd GGG hh:mm TT", "yyyyy.MMMMM.dd GGG hh:mm aaa");
        assertConvertsSame("D, d M yy HH:mm:ss z", "EEE, d MMM yyyy HH:mm:ss Z");
        assertConvertsSame("ymmddHHmmssz", "yyMMddHHmmssZ");
        assertConvertsSame("yy-mm-dd'T'HH:mm:ss.lz", "yyyy-MM-dd'T'HH:mm:ss.SSSZ");
        assertConvertsSame("yy-mm-dd'T'HH:mm:ss.lZ", "yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
        assertConvertsDifferently("YYYY-Www-yy", "YYYY-'W'ww-u", "YYYY-'W'ww-u");
    }
Test the Java date time pattern to jquery UI pattern conversion
{@link DateTimePatternConverter}.
primefaces/src/test/java/org/primefaces/convert/DateTimePatternConverterTest.java