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

Function getWeekday

codebase/sources/dhtmlxscheduler.js:15825–15827  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

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

Callers 5

monthRangeFunction · 0.70
dhtmlxscheduler.jsFile · 0.70
parseOptionsFunction · 0.70
rebuildYearFunction · 0.70
baseYearMasksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected