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

Function parseShortWeekday

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

Source from the content-addressed store, hash-verified

112513 return n ? (d.p = periodLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
112514 }
112515 function parseShortWeekday(d, string, i) {
112516 var n = shortWeekdayRe.exec(string.slice(i));
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;

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected