|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prosyst.util.time.Time
public class Time
Provides substitue method of System.currentTimeMillis(), which should be used whenever measuring periods of time and not absolute time.
| Constructor Summary | |
|---|---|
Time()
|
|
| Method Summary | |
|---|---|
static long |
getTick()
This method uses the OS high resolution timer (or if it is missing - its tick counter) to get the time passed since system (process) startup. |
protected long |
getTickCount()
|
static void |
setTime(Time impl)
Sets the native implementation of the Time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Time()
| Method Detail |
|---|
public static void setTime(Time impl)
impl - holds native impl of Timepublic static long getTick()
protected long getTickCount()
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||