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

Function datetime

codebase/sources/dhtmlxscheduler.js:15783–15794  ·  view source on GitHub ↗
(y, m, d, h, i, s)

Source from the content-addressed store, hash-verified

15781 return notEmpty(arr) && arr.indexOf(val) !== -1;
15782 };
15783 var datetime = function(y, m, d, h, i, s) {
15784 if (h === void 0) {
15785 h = 0;
15786 }
15787 if (i === void 0) {
15788 i = 0;
15789 }
15790 if (s === void 0) {
15791 s = 0;
15792 }
15793 return new Date(Date.UTC(y, m - 1, d, h, i, s));
15794 };
15795 var MONTH_DAYS = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
15796 var ONE_DAY = 1e3 * 60 * 60 * 24;
15797 var MAXYEAR = 9999;

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected