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

Function parseQuarter

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

Source from the content-addressed store, hash-verified

16433}
16434
16435function parseQuarter(d, string, i) {
16436 var n = numberRe.exec(string.slice(i, i + 1));
16437 return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1;
16438}
16439
16440function parseMonthNumber(d, string, i) {
16441 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