(date, string, i)
| 8166 | return n ? (date.y = +n[0], i += n[0].length) : -1; |
| 8167 | } |
| 8168 | function d3_time_parseYear(date, string, i) { |
| 8169 | d3_time_numberRe.lastIndex = 0; |
| 8170 | var n = d3_time_numberRe.exec(string.substring(i, i + 2)); |
| 8171 | return n ? (date.y = d3_time_expandYear(+n[0]), i += n[0].length) : -1; |
| 8172 | } |
| 8173 | function d3_time_expandYear(d) { |
| 8174 | return d + (d > 68 ? 1900 : 2e3); |
| 8175 | } |
nothing calls this directly
no test coverage detected