Get Back to an Excellent Credit Score in One year!

Question: If you lost your job, had your house foreclosed, and then went through a bankruptcy, how long would it take you to rebuild your credit to an excellent score?