mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
[TASK] Added unit tests for the Timer class
This commit is contained in:
@@ -19,6 +19,16 @@ public class Timer {
|
||||
this.end = System.currentTimeMillis() + end;
|
||||
}
|
||||
|
||||
/**
|
||||
* Timer Constructor
|
||||
*
|
||||
* @param end
|
||||
*/
|
||||
public Timer(long end, long start) {
|
||||
this.start = start;
|
||||
this.end = System.currentTimeMillis() + end;
|
||||
}
|
||||
|
||||
/**
|
||||
* Timer Constructor
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user