MCPcopy Create free account
hub / github.com/microsoft/SandDance / parseUnixTimestamp

Function parseUnixTimestamp

docs/app/js/sanddance-app.js:112701–112704  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

112699 return n ? i + n[0].length : -1;
112700}
112701function parseUnixTimestamp(d, string, i) {
112702 var n = numberRe.exec(string.slice(i));
112703 return n ? (d.Q = +n[0], i + n[0].length) : -1;
112704}
112705function parseUnixTimestampSeconds(d, string, i) {
112706 var n = numberRe.exec(string.slice(i));
112707 return n ? (d.s = +n[0], i + n[0].length) : -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected