public/javascripts/yui/calendar/calendar.js
function(nYear) {
        var yrPattern = YAHOO.widget.CalendarNavigator.YR_PATTERN;
        if (YAHOO.lang.isNumber(nYear) && yrPattern.test(nYear+"")) {
            this._year = nYear;
        }
        this._updateYearUI();
    }
function(nYear) {
        var yrPattern = YAHOO.widget.CalendarNavigator.YR_PATTERN;
        if (YAHOO.lang.isNumber(nYear) && yrPattern.test(nYear+"")) {
            this._year = nYear;
        }
        this._updateYearUI();
    }
function ( nYear ) { var yrPattern = YAHOO . widget . CalendarNavigator . YR_PATTERN ; if ( YAHOO . lang . isNumber ( nYear ) && yrPattern . test ( nYear + "" ) ) { this . _year = nYear ; } this . _updateYearUI ( ) ; }
Sets the current year on the Navigator, and updates the UI. If the
provided year is invalid, it will not be set.

@method setYear
@param {Number} nYear The full year value to set the Navigator to.
Sets the current year on the Navigator and updates the UI . If the provided year is invalid it will not be set .