MCPcopy
hub / github.com/csev/py4e / ceil

Function ceil

code/gmane/d3.v3.js:2408–2411  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

2406 return date - d0 < d1 - date ? d0 : d1;
2407 }
2408 function ceil(date) {
2409 step(date = local(new d3_date(date - 1)), 1);
2410 return date;
2411 }
2412 function offset(date, k) {
2413 step(date = new d3_date(+date), k);
2414 return date;

Callers 1

rangeFunction · 0.70

Calls 1

stepFunction · 0.70

Tested by

no test coverage detected