Verb
have a whale of a time (third-person singular simple present has a whale of a time, present participle having a whale of a time, simple past and past participle had a whale of a time)
(idiomatic) To enjoy oneself greatly.
We had a whale of a time at the party Saturday night.