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

Function d3_time_parseHour24

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

Source from the content-addressed store, hash-verified

8184 return n ? (date.d = +n[0], i += n[0].length) : -1;
8185 }
8186 function d3_time_parseHour24(date, string, i) {
8187 d3_time_numberRe.lastIndex = 0;
8188 var n = d3_time_numberRe.exec(string.substring(i, i + 2));
8189 return n ? (date.H = +n[0], i += n[0].length) : -1;
8190 }
8191 function d3_time_parseMinutes(date, string, i) {
8192 d3_time_numberRe.lastIndex = 0;
8193 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