public/javascripts/yui/calendar/calendar.js
function() {
        YAHOO.util.Dom.addClass(this.yearEl, YAHOO.widget.CalendarNavigator.CLASSES.INVALID);
    }
function() {
        YAHOO.util.Dom.addClass(this.yearEl, YAHOO.widget.CalendarNavigator.CLASSES.INVALID);
    }
function ( ) { YAHOO . util . Dom . addClass ( this . yearEl , YAHOO . widget . CalendarNavigator . CLASSES . INVALID ) ; }
Displays the validation error UI for the year control
@method setYearError
Displays the validation error UI for the year control