MCPcopy
hub / github.com/jipegit/OSXAuditor / local

Function local

d3-3.2.8/test/time/years-test.js:60–65  ·  view source on GitHub ↗
(year, month, day, hours, minutes, seconds, milliseconds)

Source from the content-addressed store, hash-verified

58});
59
60function local(year, month, day, hours, minutes, seconds, milliseconds) {
61 var date = new Date();
62 date.setFullYear(year, month, day);
63 date.setHours(hours || 0, minutes || 0, seconds || 0, milliseconds || 0);
64 return date;
65}
66
67function utc(year, month, day, hours, minutes, seconds, milliseconds) {
68 var date = new Date();

Callers 1

years-test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected