public/javascripts/yui/calendar/calendar.js
function(html) {
        var NAV = YAHOO.widget.CalendarNavigator,
            C = NAV.CLASSES;

        var id = this.id + NAV.YEAR_SUFFIX,
            size = NAV.YR_MAX_DIGITS,
            h = html;

        h[h.length] = '<label for="' + id + '">';
        h[h.length] = this.__getCfg("year", true);
        h[h.length] = '</label>';
        h[h.length] = '<input type="text" name="' + id + '" id="' + id + '" class="' + C.YEAR_CTRL + '" maxlength="' + size + '"/>';
        return h;
    }
function(html) {
        var NAV = YAHOO.widget.CalendarNavigator,
            C = NAV.CLASSES;

        var id = this.id + NAV.YEAR_SUFFIX,
            size = NAV.YR_MAX_DIGITS,
            h = html;

        h[h.length] = '<label for="' + id + '">';
        h[h.length] = this.__getCfg("year", true);
        h[h.length] = '</label>';
        h[h.length] = '<input type="text" name="' + id + '" id="' + id + '" class="' + C.YEAR_CTRL + '" maxlength="' + size + '"/>';
        return h;
    }
function ( html ) { var NAV = YAHOO . widget . CalendarNavigator , C = NAV . CLASSES ; var id = this . id + NAV . YEAR_SUFFIX , size = NAV . YR_MAX_DIGITS , h = html ; h [ h . length ] = '<label for="' + id + '">' ; h [ h . length ] = this . __getCfg ( "year" , true ) ; h [ h . length ] = '</label>' ; h [ h . length ] = '<input type="text" name="' + id + '" id="' + id + '" class="' + C . YEAR_CTRL + '" maxlength="' + size + '"/>' ; return h ; }
Renders the year label and control for the navigator

@method renderYear
@param {Array} html The HTML buffer to append the HTML to.
@return {Array} A reference to the buffer passed in.
Renders the year label and control for the navigator