vooga.widget.clock
Class TwentyFourHourReader

java.lang.Object
  extended by vooga.widget.clock.TwentyFourHourReader
All Implemented Interfaces:
TimeReader

public class TwentyFourHourReader
extends java.lang.Object
implements TimeReader

Reads the time in 24 hour time. Displays number of hours since midnight followed by a colon followed by number of minutes into the hour. Sample outputs: 17:43, 3:03, 12:00, 0:00


Constructor Summary
TwentyFourHourReader()
           
 
Method Summary
 java.lang.String getTime()
          Return the current time as a String to be displayed on a clock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwentyFourHourReader

public TwentyFourHourReader()
Method Detail

getTime

public java.lang.String getTime()
Description copied from interface: TimeReader
Return the current time as a String to be displayed on a clock

Specified by:
getTime in interface TimeReader
Returns:
String representing current time