vooga.widget.clock
Class AMandPMReeader

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

public class AMandPMReeader
extends java.lang.Object
implements TimeReader

Reads the time in 12 hour time. Displays number of hours since midnight or noon followed by a colon followed by number of minutes into the hour followed by postfix designating am or pm. Midnight is 12:00am and noon is 12:00pm Sample output: 4:23am, 12:01am, 8:25pm


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

AMandPMReeader

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