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

Function monthRange

codebase/sources/dhtmlxscheduler.es.js:15824–15827  ·  view source on GitHub ↗
(year, month)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 3

datetimeFunction · 0.70
getWeekdayFunction · 0.70
getMonthDaysFunction · 0.70

Tested by

no test coverage detected