pops.ale.epc.spec
Class ECTime

java.lang.Object
  extended by pops.ale.epc.spec.ECTime

public class ECTime
extends java.lang.Object

ECTime denotes a span of time measured in physical time units.

Author:
pops, R.DAGHER

Constructor Summary
ECTime(long duration)
          Constructor
 
Method Summary
 long getDuration()
          Getter for duration
 void setDuration(long duration)
          Setter for duration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECTime

public ECTime(long duration)
Constructor

Parameters:
duration - in Milliseconds
Method Detail

getDuration

public long getDuration()
Getter for duration

Returns:
the duration in Milliseconds

setDuration

public void setDuration(long duration)
Setter for duration

Parameters:
duration - the duration to set in Milliseconds