单项选择题

—How long ______ each other before they ______ married—For about a year.

A.have they known; get
B.did they know; were going to get
C.do they know; are going to get
D.had they known; got