|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.spy.cron.TimeIncrement
public class TimeIncrement
This object defines how a recurring job should increment itself.
| Constructor Summary | |
|---|---|
TimeIncrement()
Get a new TimeIncrement object. |
|
TimeIncrement(java.util.Calendar c)
Get a new TimeIncrement object using a specific Calendar. |
|
| Method Summary | |
|---|---|
java.util.Date |
nextDate(java.util.Date d)
Get the next value of this Date. |
void |
setField(int to)
Set Calendar field to increment. |
void |
setIncrement(int to)
Set the increment amount. |
java.lang.String |
toString()
String me. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimeIncrement()
public TimeIncrement(java.util.Calendar c)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic void setField(int to)
public void setIncrement(int to)
public java.util.Date nextDate(java.util.Date d)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||