单项选择题

He regretted the days______he wasted in the woods and when he should have studied.  

A.when 
B.where 
C.that
D.what