MCPcopy Create free account
hub / github.com/microsoft/SandDance / utcWeekNum

Function utcWeekNum

docs/app/js/sanddance-app.js:111267–111270  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

111265 return (0, _d3Time.utcDay).count(y - 1, d);
111266}
111267function utcWeekNum(d) {
111268 const y = Date.UTC(d.getUTCFullYear(), 0, 1);
111269 return (0, _d3Time.utcWeek).count(y - 1, d);
111270}
111271function utcFirst(y) {
111272 t0.setTime(Date.UTC(y, 0, 1));
111273 return t0.getUTCDay();

Callers 2

utcweekFunction · 0.70
sanddance-app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected