|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Date | +--fungus.core.scheduler.Time
Représentation du temps.
Utilise entre autre par les schedulers.
Date
, Serialized FormConstructor Summary | |
---|---|
Time()
Nouvelle heure. |
|
Time(long init)
Nouvelle heure. |
|
Time(Time t)
|
Method Summary | |
---|---|
Time |
add(Time t)
ajoute t unités à ce temps |
void |
advance(Time t)
Avance l'heure du t unité |
String |
toString()
|
Methods inherited from class java.util.Date |
---|
after, before, clone, compareTo, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, UTC |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Time()
public Time(long init)
init
- valeur initiale de l'heurepublic Time(Time t)
Method Detail |
public void advance(Time t)
t
- le temps que l'on ajoute.public Time add(Time t)
t
- le nombre d'unité à ajouterpublic String toString()
toString
in class Date
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |