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

Function parseWeekNumberSunday

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

Source from the content-addressed store, hash-verified

112635 return n ? (d.u = +n[0], i + n[0].length) : -1;
112636}
112637function parseWeekNumberSunday(d, string, i) {
112638 var n = numberRe.exec(string.slice(i, i + 2));
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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected