public/javascripts/yui/calendar/calendar.js
function(year) {
        var cfgPageDate = DEF_CFG.PAGEDATE.key,
            current = this.cfg.getProperty(cfgPageDate);

        current.setFullYear(parseInt(year, 10) - this.Locale.YEAR_OFFSET);
        this.cfg.setProperty(cfgPageDate, current);
    }
function(year) {
        var cfgPageDate = DEF_CFG.PAGEDATE.key,
            current = this.cfg.getProperty(cfgPageDate);

        current.setFullYear(parseInt(year, 10) - this.Locale.YEAR_OFFSET);
        this.cfg.setProperty(cfgPageDate, current);
    }
function ( year ) { var cfgPageDate = DEF_CFG . PAGEDATE . key , current = this . cfg . getProperty ( cfgPageDate ) ; current . setFullYear ( parseInt ( year , 10 ) - this . Locale . YEAR_OFFSET ) ; this . cfg . setProperty ( cfgPageDate , current ) ; }
Sets the calendar's year explicitly.
@method setYear
@param {Number} year  The numeric 4-digit year
Sets the calendar s year explicitly .