title: Customize the digital clock
body: <p>I am using the digital clock but i need a simple customisation to it. My code is like this.</p>
  
  <pre><code> DigitalClock digitalClock=new DigitalClock(this);  
   //Set of attributes  
   digitalClock.setDrawingCacheEnabled(true);  
   setContentView(digitalClock);  
  </code></pre>
  
  <p>It displays the time in hr:min:sec format. I want it to look like hr:min format and also I want it in 24hour format. 
  I am suspecting that I should use the calendar apis and use string format api. But I am not sure with the best approach.
  Any suggestion is precious.
  Thanks</p>