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

Function parsePeriod

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

Source from the content-addressed store, hash-verified

16260 }
16261
16262 function parsePeriod(d, string, i) {
16263 var n = periodRe.exec(string.slice(i));
16264 return n ? (d.p = periodLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
16265 }
16266
16267 function parseShortWeekday(d, string, i) {
16268 var n = shortWeekdayRe.exec(string.slice(i));

Callers

nothing calls this directly

Calls 2

sliceMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected