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

Function parseWeekday

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

Source from the content-addressed store, hash-verified

112517 return n ? (d.w = shortWeekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
112518 }
112519 function parseWeekday(d, string, i) {
112520 var n = weekdayRe.exec(string.slice(i));
112521 return n ? (d.w = weekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
112522 }
112523 function parseShortMonth(d, string, i) {
112524 var n = shortMonthRe.exec(string.slice(i));
112525 return n ? (d.m = shortMonthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected