title: Word Clock - Most efficient method of telling time
body: <p>Suppose you are trying to create this clock:</p>
  
  <p><a href="https://i.stack.imgur.com/NEzyD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NEzyD.jpg" alt="enter image description here"></a></p>
  
  <p>I have a <code>TimerTask</code> which returns <code>int hour</code> and <code>int minute</code> every 10 seconds.</p>
  
  <p>The first solution that occurred to me is multiple <code>switch</code> statements, but that can quickly spiral out of control. It would work, but there is probably a much more elegant solution to handle all the different cases. Do you have any better ideas?</p>
  
  <p>All advice appreciated. Thanks!</p>