What is the military diet and does it work?

People following the military diet spend 3 days restricting their calorie intake and then have 4 days of regular eating.