I’m not so familiar with the expression ‘he was (time) in doing’, but it seems to be used here and there and obviously mean ‘it took him (time) to do. When would you want to use the phrase? Are they exchangeable?
Here’re the examples.
(from Google search)
He threw a famous feast which he was a year in preparing for and invited all the warriors of Ulster to it but…
(Harry Potter 3 [US Version]: p.327)
They reached Hagrid’s cabin and knocked. He was a minute in answering, and…