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

Function monthRange

codebase/sources/dhtmlxscheduler.js:15828–15831  ·  view source on GitHub ↗
(year, month)

Source from the content-addressed store, hash-verified

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)];
15831 };
15832 var combine = function(date, time) {
15833 time = time || date;
15834 return new Date(Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate(), time.getHours(), time.getMinutes(), time.getSeconds(), time.getMilliseconds()));

Callers 1

dhtmlxscheduler.jsFile · 0.70

Calls 3

datetimeFunction · 0.70
getWeekdayFunction · 0.70
getMonthDaysFunction · 0.70

Tested by

no test coverage detected