org.apache.felix.upnp.sample.clock
Class Clock

java.lang.Object
  extended by org.apache.felix.upnp.sample.clock.Clock

public class Clock
extends Object


Constructor Summary
Clock(Calendar cal)
           
 
Method Summary
 Calendar getCalendar()
           
 String getDateString()
           
 int getHour()
           
static Clock getInstance()
           
 int getMinute()
           
 int getSecond()
           
 String getTimeString()
           
static String toClockString(int value)
           
static String toMonthString(int value)
           
 String toString()
           
static String toWeekString(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Clock

public Clock(Calendar cal)
Method Detail

getCalendar

public Calendar getCalendar()

getHour

public int getHour()

getMinute

public int getMinute()

getSecond

public int getSecond()

getInstance

public static final Clock getInstance()

toClockString

public static final String toClockString(int value)

toMonthString

public static final String toMonthString(int value)

toWeekString

public static final String toWeekString(int value)

getDateString

public String getDateString()

getTimeString

public String getTimeString()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.