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

Function combine

codebase/sources/dhtmlxscheduler.es.js:15828–15831  ·  view source on GitHub ↗
(date, time)

Source from the content-addressed store, hash-verified

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()));
15831};
15832var clone = function(date) {
15833 var dolly = new Date(date.getTime());
15834 return dolly;

Callers 2

buildPoslistFunction · 0.70
iterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected