MCPcopy Create free account
hub / github.com/breck7/scroll / parseHour24

Function parseHour24

external/.d3.js:16455–16458  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

16453}
16454
16455function parseHour24(d, string, i) {
16456 var n = numberRe.exec(string.slice(i, i + 2));
16457 return n ? (d.H = +n[0], i + n[0].length) : -1;
16458}
16459
16460function parseMinutes(d, string, i) {
16461 var n = numberRe.exec(string.slice(i, i + 2));

Callers

nothing calls this directly

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected