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

Function parseWeekNumberISO

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

Source from the content-addressed store, hash-verified

112639 return n ? (d.U = +n[0], i + n[0].length) : -1;
112640}
112641function parseWeekNumberISO(d, string, i) {
112642 var n = numberRe.exec(string.slice(i, i + 2));
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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected