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

Function d3_time_parseMonthNumber

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

Source from the content-addressed store, hash-verified

8174 return d + (d > 68 ? 1900 : 2e3);
8175 }
8176 function d3_time_parseMonthNumber(date, string, i) {
8177 d3_time_numberRe.lastIndex = 0;
8178 var n = d3_time_numberRe.exec(string.substring(i, i + 2));
8179 return n ? (date.m = n[0] - 1, i += n[0].length) : -1;
8180 }
8181 function d3_time_parseDay(date, string, i) {
8182 d3_time_numberRe.lastIndex = 0;
8183 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