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

Function parseUnixTimestamp

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

Source from the content-addressed store, hash-verified

16483}
16484
16485function parseUnixTimestamp(d, string, i) {
16486 var n = numberRe.exec(string.slice(i));
16487 return n ? (d.Q = +n[0], i + n[0].length) : -1;
16488}
16489
16490function parseUnixTimestampSeconds(d, string, i) {
16491 var n = numberRe.exec(string.slice(i));

Callers

nothing calls this directly

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected