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

Function d3_time_parseSeconds

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

Source from the content-addressed store, hash-verified

8194 return n ? (date.M = +n[0], i += n[0].length) : -1;
8195 }
8196 function d3_time_parseSeconds(date, string, i) {
8197 d3_time_numberRe.lastIndex = 0;
8198 var n = d3_time_numberRe.exec(string.substring(i, i + 2));
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));

Callers

nothing calls this directly

Calls 1

execMethod · 0.45

Tested by

no test coverage detected