private static void visitDayOfMonthToken(int repetitions, JQueryDateTimePatternBuilder builder) {
        if (repetitions == 1) {
            builder.appendDayOfMonthNoLeadingZeros();
        }
        else {
            builder.appendDayOfMonthWithLeadingZeros();
        }
    }
Day of month token 'd' and 'dd'. `d` is without leading zeros, 'dd' and more
is with leading zeros.
primefaces/src/main/java/org/primefaces/convert/CombinedDateTimePatternTokenVisitor.java