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

Function parseWeekdayNumberMonday

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

Source from the content-addressed store, hash-verified

112631 return n ? (d.w = +n[0], i + n[0].length) : -1;
112632}
112633function parseWeekdayNumberMonday(d, string, i) {
112634 var n = numberRe.exec(string.slice(i, i + 1));
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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected