public class YearlyRegeneratingPattern extends java.lang.Object implements TaskRecurrencePattern
| Constructor and Description |
|---|
YearlyRegeneratingPattern()
Initializes a new instance of the YearlyRegeneratingPattern class.
|
YearlyRegeneratingPattern(int interval)
Initializes a new instance of the YearlyRegeneratingPattern class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInterval()
Gets the interval, in years, during which a new task is regenerated after the completion of the task.
|
void |
setInterval(int interval)
Sets the interval, in years, during which a new task is regenerated after the completion of the task.
|
java.lang.String |
toString()
Converts the value of the current YearlyRegeneratingPattern object to its equivalent string representation.
|
public YearlyRegeneratingPattern()
public YearlyRegeneratingPattern(int interval)
interval - the intervalpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getInterval()
public void setInterval(int interval)
interval - the new interval