✔ 最佳答案
"HAVE A [adjective - normally, good, bad, difficult] TIME doing something" is a kind of Fixed Expression telling the experience (what you feel) of doing something.
- I had a good time reading a book. (O) ---gerund (O)
- I had a good time to read a book. (X) ---infinitive (X)
I had a quiet time reading a book.
= I spent my time (in) reading a book in a quiet environment.
= I enjoyed reading a book quietly.