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

Function d3_time_parseWeekday

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

Source from the content-addressed store, hash-verified

8496 return n ? (date.w = d3_time_dayAbbrevLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
8497 }
8498 function d3_time_parseWeekday(date, string, i) {
8499 d3_time_dayRe.lastIndex = 0;
8500 var n = d3_time_dayRe.exec(string.substring(i));
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));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected