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

Function parseMonthNumber

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

Source from the content-addressed store, hash-verified

16438}
16439
16440function parseMonthNumber(d, string, i) {
16441 var n = numberRe.exec(string.slice(i, i + 2));
16442 return n ? (d.m = n[0] - 1, i + n[0].length) : -1;
16443}
16444
16445function parseDayOfMonth(d, string, i) {
16446 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