MCPcopy Create free account
hub / github.com/breck7/scroll / parseWeekNumberMonday

Function parseWeekNumberMonday

external/.d3.js:16415–16418  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

16413}
16414
16415function parseWeekNumberMonday(d, string, i) {
16416 var n = numberRe.exec(string.slice(i, i + 2));
16417 return n ? (d.W = +n[0], i + n[0].length) : -1;
16418}
16419
16420function parseFullYear(d, string, i) {
16421 var n = numberRe.exec(string.slice(i, i + 4));

Callers

nothing calls this directly

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected