private static void visitDayOfYearToken(int repetitions, JQueryDateTimePatternBuilder builder) {
        if (repetitions == 1) {
            builder.appendDayOfYearNoLeadingZeros();
        }
        else {
            // 2+
            builder.appendDayOfYearWithLeadingZeros();
        }
    }
Day of the year token 'D', 'DD, 'DDD'.
<ul>
<li>D and DD is the day of the year without leading zeros</li>
<li>DDD is a three-digit day of the year with leading zeros.</li>
</ul>
More than three 'D' are interpreted as 'DDD'.
primefaces/src/main/java/org/primefaces/convert/CombinedDateTimePatternTokenVisitor.java