MCPcopy Create free account
hub / github.com/jipegit/OSXAuditor / d3_time_parseWeekdayNumber

Function d3_time_parseWeekdayNumber

d3-3.2.8/d3.js:8503–8507  ·  view source on GitHub ↗
(date, string, i)

Source from the content-addressed store, hash-verified

8501 return n ? (date.w = d3_time_dayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
8502 }
8503 function d3_time_parseWeekdayNumber(date, string, i) {
8504 d3_time_numberRe.lastIndex = 0;
8505 var n = d3_time_numberRe.exec(string.substring(i, i + 1));
8506 return n ? (date.w = +n[0], i + n[0].length) : -1;
8507 }
8508 function d3_time_parseWeekNumberSunday(date, string, i) {
8509 d3_time_numberRe.lastIndex = 0;
8510 var n = d3_time_numberRe.exec(string.substring(i));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected