org.jscience.history.time
Class Time

java.lang.Object
  extended by org.jscience.history.time.Time
Direct Known Subclasses:
ChineseTime, DecimalTime, HexadecimalTime, InternetTime, ModernTime

public abstract class Time
extends java.lang.Object

A class representing a way to compute time.


Constructor Summary
Time()
           
 
Method Summary
abstract  int getDays()
          DOCUMENT ME!
abstract  int getHours()
          DOCUMENT ME!
abstract  int getMilliseconds()
          DOCUMENT ME!
abstract  int getMinutes()
          DOCUMENT ME!
abstract  int getSeconds()
          DOCUMENT ME!
abstract  Amount<Duration> getTime()
          DOCUMENT ME!
abstract  void nextDay()
          DOCUMENT ME!
abstract  void nextHour()
          DOCUMENT ME!
abstract  void nextMillisecond()
          DOCUMENT ME!
abstract  void nextMinute()
          DOCUMENT ME!
abstract  void nextSecond()
          DOCUMENT ME!
abstract  java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Time

public Time()
Method Detail

getTime

public abstract Amount<Duration> getTime()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMilliseconds

public abstract int getMilliseconds()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getSeconds

public abstract int getSeconds()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMinutes

public abstract int getMinutes()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getHours

public abstract int getHours()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDays

public abstract int getDays()
DOCUMENT ME!

Returns:
DOCUMENT ME!

nextMillisecond

public abstract void nextMillisecond()
DOCUMENT ME!


nextSecond

public abstract void nextSecond()
DOCUMENT ME!


nextMinute

public abstract void nextMinute()
DOCUMENT ME!


nextHour

public abstract void nextHour()
DOCUMENT ME!


nextDay

public abstract void nextDay()
DOCUMENT ME!


toString

public abstract java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!