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

Function combine

codebase/sources/dhtmlxscheduler.js:15832–15835  ·  view source on GitHub ↗
(date, time)

Source from the content-addressed store, hash-verified

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()));
15835 };
15836 var clone = function(date) {
15837 var dolly = new Date(date.getTime());
15838 return dolly;

Callers 2

buildPoslistFunction · 0.70
iterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected