public/javascripts/yui/calendar/calendar.js
function() {
        for (var p=0;p<this.pages.length;++p) {
            var cal = this.pages[p];
            cal.clear();
        }

        this.cfg.setProperty(DEF_CFG.SELECTED.key, []);
        this.cfg.setProperty(DEF_CFG.PAGEDATE.key, new Date(this.pages[0].today.getTime()));
        this.render();
    }
function() {
        for (var p=0;p<this.pages.length;++p) {
            var cal = this.pages[p];
            cal.clear();
        }

        this.cfg.setProperty(DEF_CFG.SELECTED.key, []);
        this.cfg.setProperty(DEF_CFG.PAGEDATE.key, new Date(this.pages[0].today.getTime()));
        this.render();
    }
function ( ) { for ( var p = 0 ; p < this . pages . length ; ++ p ) { var cal = this . pages [ p ] ; cal . clear ( ) ; } this . cfg . setProperty ( DEF_CFG . SELECTED . key , [ ] ) ; this . cfg . setProperty ( DEF_CFG . PAGEDATE . key , new Date ( this . pages [ 0 ] . today . getTime ( ) ) ) ; this . render ( ) ; }
Clears the selected dates in the current calendar widget and sets the calendar
to the current month and year.
@method clear
Clears the selected dates in the current calendar widget and sets the calendar to the current month and year .