You can do it in 3 weeks, but if you allow 4 it takes the pressure off a bit. I did mine in 3 but we only lost 2 days to weather. The extra days allow you time for sightseeing, or a night rating or a trip away.
The studying is not as bad as onehunga makes out - you will have time for some evenings out, just not every evening.