Complete homework the silly way. Next time try Enum like TimeUnit.