MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / getWeekday

Function getWeekday

codebase/sources/dhtmlxscheduler.es.js:15821–15823  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

15819 return month === 1 && isLeapYear(date.getUTCFullYear()) ? 29 : MONTH_DAYS[month];
15820};
15821var getWeekday = function(date) {
15822 return PY_WEEKDAYS[date.getUTCDay()];
15823};
15824var monthRange = function(year, month) {
15825 var date = datetime(year, month + 1, 1);
15826 return [getWeekday(date), getMonthDays(date)];

Callers 5

monthRangeFunction · 0.70
parseOptionsFunction · 0.70
rebuildYearFunction · 0.70
baseYearMasksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected