|
Evolvica Core API Version 0.6.3 Last Modified: July 20 2004 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.evolvica.core.terminate.AbsoluteTimeCondition
Termination at specified time. The condition is fulfilled in case of (currentTime >= targetTime). The target time can be specified in the constructor.
| Field Summary | |
protected java.util.GregorianCalendar |
current
Current time. |
protected int |
day
Day. |
protected int |
hour
Hour. |
protected int |
minute
Minute. |
protected int |
month
Month. |
protected java.util.GregorianCalendar |
target
Target time. |
protected int |
year
Year. |
| Constructor Summary | |
AbsoluteTimeCondition()
Constructor. |
|
AbsoluteTimeCondition(int year,
int month,
int day,
int hour,
int minute)
Constructor with target time. |
|
| Method Summary | |
int |
getDay()
Returns the day |
int |
getHour()
Returns the hour. |
int |
getMinute()
Returns the minute. |
int |
getMonth()
Returns the month. |
int |
getYear()
Returns the year. |
boolean |
isTrue(IIndividualSet set)
Test of condition. |
void |
setDay(int value)
Sets the day. |
void |
setHour(int value)
Sets the hour. |
void |
setMinute(int value)
Sets the minute. |
void |
setMonth(int value)
Sets the month. |
void |
setYear(int value)
Sets the year. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.GregorianCalendar current
protected java.util.GregorianCalendar target
protected int year
protected int month
protected int day
protected int hour
protected int minute
| Constructor Detail |
public AbsoluteTimeCondition()
public AbsoluteTimeCondition(int year,
int month,
int day,
int hour,
int minute)
year - yearmonth - monthday - dayhour - hourminute - minute| Method Detail |
public boolean isTrue(IIndividualSet set)
isTrue in interface IConditionset - individual set
public int getDay()
public int getHour()
public int getMinute()
public int getMonth()
public int getYear()
public void setDay(int value)
throws java.beans.PropertyVetoException
value - day
java.beans.PropertyVetoException - thrown in case the property cannot be set
public void setHour(int value)
throws java.beans.PropertyVetoException
value - hour
java.beans.PropertyVetoException - thrown in case the property cannot be set
public void setMinute(int value)
throws java.beans.PropertyVetoException
value - minute
java.beans.PropertyVetoException - thrown in case the property cannot be set
public void setMonth(int value)
throws java.beans.PropertyVetoException
value - month
java.beans.PropertyVetoException - thrown in case the property cannot be set
public void setYear(int value)
throws java.beans.PropertyVetoException
value - year
java.beans.PropertyVetoException - thrown in case the property cannot be set
|
Evolvica Core API Version 0.6.3 Last Modified: July 20 2004 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||