com.rubecula.darwin.evolution
Interface Timed

All Known Implementing Classes:
Evolution_Calendar, Evolution_Standard, Evolution_Timed

public interface Timed

Author:
Robin Hillyard

Method Summary
 int getRate()
           
 java.util.Calendar getTime()
           
 void setRate(int rate)
          Change the rate of ticking of this Timed object.
 

Method Detail

getRate

int getRate()
Returns:
the rate, i.e. the number of milliseconds between successive "ticks" for this Timed object, typically an Evolution.

getTime

java.util.Calendar getTime()
                           throws EvolutionException
Returns:
real time of this evolution
Throws:
EvolutionException
See Also:
CalendarEvolution.getTime()

setRate

void setRate(int rate)
             throws EvolutionException
Change the rate of ticking of this Timed object.

Parameters:
rate - the new rate, in milliseconds.
Throws:
EvolutionException


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.