A. He said that he would have been working there for ten years by the following month.
B. He said that he will have been working here for ten years by next month.
C. He said that he had been working there for ten years by the following month.
D. He said that he has been working here for ten years by next month.