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

Function d3_time_parseMilliseconds

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

Source from the content-addressed store, hash-verified

8199 return n ? (date.S = +n[0], i += n[0].length) : -1;
8200 }
8201 function d3_time_parseMilliseconds(date, string, i) {
8202 d3_time_numberRe.lastIndex = 0;
8203 var n = d3_time_numberRe.exec(string.substring(i, i + 3));
8204 return n ? (date.L = +n[0], i += n[0].length) : -1;
8205 }
8206 var d3_time_numberRe = /^\s*\d+/;
8207 function d3_time_parseAmPm(date, string, i) {
8208 var n = d3_time_amPmLookup.get(string.substring(i, i += 2).toLowerCase());

Callers

nothing calls this directly

Calls 1

execMethod · 0.45

Tested by

no test coverage detected