ij3d.utils
Class Chrono

java.lang.Object
  extended by ij3d.utils.Chrono

public final class Chrono
extends java.lang.Object

Class that defines a chronometer

Author:
Olivier Sigaud and Pierre Gérard .

Field Summary
protected  java.util.Date D1
          Description of the Field
protected  java.util.Date D2
          Description of the Field
protected  int nb_tasks
          Description of the Field
 
Constructor Summary
Chrono()
          Constructor for the Chrono object
Chrono(int nbt)
          Constructor for the Chrono object
 
Method Summary
 long delay()
          Description of the Method
 java.lang.String delayString()
          Description of the Method
 long remain(int nb)
          Description of the Method
 java.lang.String remainString(int nb)
          Description of the Method
 void start()
          Description of the Method
 void stop()
          Description of the Method
 long totalTimeEstimate(int nb)
          Description of the Method
 java.lang.String totalTimeEstimateString(int nb)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

D1

protected java.util.Date D1
Description of the Field


D2

protected java.util.Date D2
Description of the Field


nb_tasks

protected int nb_tasks
Description of the Field

Constructor Detail

Chrono

public Chrono()
Constructor for the Chrono object


Chrono

public Chrono(int nbt)
Constructor for the Chrono object

Parameters:
nbt - Description of the Parameter
Method Detail

start

public void start()
Description of the Method


stop

public void stop()
Description of the Method


delay

public long delay()
Description of the Method

Returns:
Description of the Return Value

delayString

public java.lang.String delayString()
Description of the Method

Returns:
Description of the Return Value

remain

public long remain(int nb)
Description of the Method

Parameters:
nb - Description of the Parameter
Returns:
Description of the Return Value

remainString

public java.lang.String remainString(int nb)
Description of the Method

Parameters:
nb - Description of the Parameter
Returns:
Description of the Return Value

totalTimeEstimate

public long totalTimeEstimate(int nb)
Description of the Method

Parameters:
nb - Description of the Parameter
Returns:
Description of the Return Value

totalTimeEstimateString

public java.lang.String totalTimeEstimateString(int nb)
Description of the Method

Parameters:
nb - Description of the Parameter
Returns:
Description of the Return Value