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

Function parseWeekNumberSunday

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

Source from the content-addressed store, hash-verified

16403}
16404
16405function parseWeekNumberSunday(d, string, i) {
16406 var n = numberRe.exec(string.slice(i, i + 2));
16407 return n ? (d.U = +n[0], i + n[0].length) : -1;
16408}
16409
16410function parseWeekNumberISO(d, string, i) {
16411 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