MCPcopy Create free account
hub / github.com/jipegit/OSXAuditor / d3_time_parseMonthNumber

Function d3_time_parseMonthNumber

d3-3.2.8/d3.js:8550–8554  ·  view source on GitHub ↗
(date, string, i)

Source from the content-addressed store, hash-verified

8548 return d + (d > 68 ? 1900 : 2e3);
8549 }
8550 function d3_time_parseMonthNumber(date, string, i) {
8551 d3_time_numberRe.lastIndex = 0;
8552 var n = d3_time_numberRe.exec(string.substring(i, i + 2));
8553 return n ? (date.m = n[0] - 1, i + n[0].length) : -1;
8554 }
8555 function d3_time_parseDay(date, string, i) {
8556 d3_time_numberRe.lastIndex = 0;
8557 var n = d3_time_numberRe.exec(string.substring(i, i + 2));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected