Simply store its angle at the last tick in an instance variable. If the current angle is clockwise of the last angle, it's rotating clockwise, otherwise anticlockwise (or not rotating).
Note if you rotate 270 degrees clockwise, that will count as 90 degrees anticlockwise.