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

Function parseWeekNumberISO

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

Source from the content-addressed store, hash-verified

16408}
16409
16410function parseWeekNumberISO(d, string, i) {
16411 var n = numberRe.exec(string.slice(i, i + 2));
16412 return n ? (d.V = +n[0], i + n[0].length) : -1;
16413}
16414
16415function parseWeekNumberMonday(d, string, i) {
16416 var n = numberRe.exec(string.slice(i, i + 2));

Callers

nothing calls this directly

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected