vooga.widget.clock
Class MilitaryTime

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

public class MilitaryTime
extends java.lang.Object
implements TimeReader

Reads the time in military time. Displays number of hours since midnight followed followed by number of minutes into the hour. Sample output: 1725, 0240, 1204, 0000, 0024


Constructor Summary
MilitaryTime()
           
 
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

MilitaryTime

public MilitaryTime()
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