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

Function parseFullYear

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

Source from the content-addressed store, hash-verified

16418}
16419
16420function parseFullYear(d, string, i) {
16421 var n = numberRe.exec(string.slice(i, i + 4));
16422 return n ? (d.y = +n[0], i + n[0].length) : -1;
16423}
16424
16425function parseYear(d, string, i) {
16426 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