Study this example situation:![]() | Yesterday morning I got up and looked out the window. The sun was shining, but the ground was very wet. It had been raining. It wasn't raining when I looked out the window; the sun was shining. But it had been raining. That's why the ground was wet. |
Had been raining is the past perfect continuous tense: I/he/she (etc.) had (= I'd/he'd/she'd, etc.) been doing | |
You can use the past perfect continuous to say how long something had been happening before something else happened:
The past perfect continuous (I had been doing) is the past of the present perfect continuous (I have been doing). Compare:Present How long have you been waiting? (until now) He's out of breath. He has been running. | Past How long had you been waiting when the bus finally came? He was out of breath. He had been running. |
Compare the past perfect continuous (I had been doing) with the past continuous (I was doing):
Some verbs (for example, know) cannot be used in the continuous form. See this for a list of these verbs.