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

Function parseUnixTimestamp

docs/tests/v2/es6/js/sanddance.js:82627–82630  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

82625}
82626
82627function parseUnixTimestamp(d, string, i) {
82628 var n = numberRe.exec(string.slice(i));
82629 return n ? (d.Q = +n[0], i + n[0].length) : -1;
82630}
82631
82632function parseUnixTimestampSeconds(d, string, i) {
82633 var n = numberRe.exec(string.slice(i));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected