Past Perfect Continuous Tense is used to indicate an ongoing past action that continued at some point in the past.
The formula for Past Perfect Continuous Tense Affirmative Sentence is as such:
Subject + had been + Verb ('ing' form) + Object (optional) + since / for + the time duration
Example:
I had been working in bank since January.
He had been watching a movie for two hours.
The formula for Past Perfect Continuous Tense Negative Sentence is as such:
Subject + had + not + been + Verb ('ing' form) + Object (optional) + since / for + the time duration
Example:
You had not been studying hard for an exam since November.
She had not been listening to music for two hours.
The formula for Past Perfect Continuous Tense Interrogative Sentence is as such:
Had + Subject + been + Verb ('ing' form) + Object (optional) + since / for + the time duration
Example:
Had I been working hard for a job interview since Friday?
Had she been listening to music for the last 2 hours?
The formula for Past Perfect Continuous Tense Negative Interrogative Sentence is as such:
Had + Subject + not + been + Verb ('ing' form) + Object (optional) + since / for + the time duration
Example:
Had John not been watching a movie for 2 hours?
Had we not been working hard for an exam since Monday?
The Past Perfect Continuous Tense is mainly used as:
For example
When I was in Delhi, I had been studying hard for the exam for the 10 days.
When we meet, she had been trying hard for civil services for 2 years.
Application :
Practical English Tenses