MCPcopy Create free account
hub / github.com/idank/explainshell / d3_time_parseFullYear

Function d3_time_parseFullYear

explainshell/web/static/js/d3.v3.js:8163–8167  ·  view source on GitHub ↗
(date, string, i)

Source from the content-addressed store, hash-verified

8161 return d3_time_parse(date, d3_time_formats.X.toString(), string, i);
8162 }
8163 function d3_time_parseFullYear(date, string, i) {
8164 d3_time_numberRe.lastIndex = 0;
8165 var n = d3_time_numberRe.exec(string.substring(i, i + 4));
8166 return n ? (date.y = +n[0], i += n[0].length) : -1;
8167 }
8168 function d3_time_parseYear(date, string, i) {
8169 d3_time_numberRe.lastIndex = 0;
8170 var n = d3_time_numberRe.exec(string.substring(i, i + 2));

Callers

nothing calls this directly

Calls 1

execMethod · 0.45

Tested by

no test coverage detected