return inst.options[format == 'W' ? 'dayNames' : 'dayNamesShort']
                    [new Date(inst._selectedYear, inst._selectedMonth, inst._selectedDay).
                    getDay()].length + 3;