(4) should be 'it has/had been raining for days' (duration). Your others are fine. 'During' indicates a background event/condition within which the main event/condition occurs: 'I was sleeping during the concert'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.