public/javascripts/yui/calendar/calendar.js
function(html) {

        html[html.length] = '<tr class="' + this.Style.CSS_WEEKDAY_ROW + '">';

        if (this.cfg.getProperty(DEF_CFG.SHOW_WEEK_HEADER.key)) {
            html[html.length] = '<th>&#160;</th>';
        }

        for(var i=0;i < this.Locale.LOCALE_WEEKDAYS.length; ++i) {
            html[html.length] = '<th class="' + this.Style.CSS_WEEKDAY_CELL + '">' + this.Locale.LOCALE_WEEKDAYS[i] + '</th>';
        }

        if (this.cfg.getProperty(DEF_CFG.SHOW_WEEK_FOOTER.key)) {
            html[html.length] = '<th>&#160;</th>';
        }

        html[html.length] = '</tr>';

        return html;
    }
function(html) {

        html[html.length] = '<tr class="' + this.Style.CSS_WEEKDAY_ROW + '">';

        if (this.cfg.getProperty(DEF_CFG.SHOW_WEEK_HEADER.key)) {
            html[html.length] = '<th>&#160;</th>';
        }

        for(var i=0;i < this.Locale.LOCALE_WEEKDAYS.length; ++i) {
            html[html.length] = '<th class="' + this.Style.CSS_WEEKDAY_CELL + '">' + this.Locale.LOCALE_WEEKDAYS[i] + '</th>';
        }

        if (this.cfg.getProperty(DEF_CFG.SHOW_WEEK_FOOTER.key)) {
            html[html.length] = '<th>&#160;</th>';
        }

        html[html.length] = '</tr>';

        return html;
    }
function ( html ) { html [ html . length ] = '<tr class="' + this . Style . CSS_WEEKDAY_ROW + '">' ; if ( this . cfg . getProperty ( DEF_CFG . SHOW_WEEK_HEADER . key ) ) { html [ html . length ] = '<th>&#160;</th>' ; } for ( var i = 0 ; i < this . Locale . LOCALE_WEEKDAYS . length ; ++ i ) { html [ html . length ] = '<th class="' + this . Style . CSS_WEEKDAY_CELL + '">' + this . Locale . LOCALE_WEEKDAYS [ i ] + '</th>' ; } if ( this . cfg . getProperty ( DEF_CFG . SHOW_WEEK_FOOTER . key ) ) { html [ html . length ] = '<th>&#160;</th>' ; } html [ html . length ] = '</tr>' ; return html ; }
Renders the Calendar's weekday headers.
@method buildWeekdays
@param {Array} html The current working HTML array
@return {Array} The current working HTML array
Renders the Calendar s weekday headers .