@Test
    void commonPatterns() {
        assertConvertsSame("yy-mm-dd", "yyyy-MM-dd");
        assertConvertsSame("dd-mm-yy", "dd-MM-yyyy");
        assertConvertsSame("yy-mm-dd HH:mm:ss", "yyyy-MM-dd HH:mm:ss");
        assertConvertsSame("HH:mm:ss.l", "HH:mm:ss.SSS");
        assertConvertsSame("yy-mm-dd HH:mm:ss.l", "yyyy-MM-dd HH:mm:ss.SSS");
        assertConvertsSame("yy-mm-dd HH:mm:ss.l z", "yyyy-MM-dd HH:mm:ss.SSS Z");
        assertConvertsSame("dd.mm.yy", "dd.MM.yyyy");
        assertConvertsSame("dd.mm.yy HH:mm", "dd.MM.yyyy HH:mm");
        assertConvertsSame("HH:mm", "HH:mm");
        assertConvertsSame("mm/dd/yy", "MM/dd/yyyy");
        assertConvertsSame("yy-M-dd", "yyyy-MMM-dd");
        assertConvertsSame("mm/dd/yy HH:mm:ss", "MM/dd/yyyy HH:mm:ss");
        assertConvertsSame("mm/yy", "MM/yyyy");
    }
Test the Java date time pattern to jquery UI pattern conversion
{@link DateTimePatternConverter}.
primefaces/src/test/java/org/primefaces/convert/DateTimePatternConverterTest.java