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

Function parseWeekNumberMonday

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

Source from the content-addressed store, hash-verified

112643 return n ? (d.V = +n[0], i + n[0].length) : -1;
112644}
112645function parseWeekNumberMonday(d, string, i) {
112646 var n = numberRe.exec(string.slice(i, i + 2));
112647 return n ? (d.W = +n[0], i + n[0].length) : -1;
112648}
112649function parseFullYear(d, string, i) {
112650 var n = numberRe.exec(string.slice(i, i + 4));
112651 return n ? (d.y = +n[0], i + n[0].length) : -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected