DailyRepetitionBase
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.tasks.IValidatorCreator, com.aspose.tasks.ICalculatorCreator
public abstract class DailyRepetitionBase implements IValidatorCreator, ICalculatorCreator
Represents a base class for repetitions in daily recurrence pattern.
Methods
Method | Description |
---|---|
getCalculator(Calendar calendar, Duration duration) | {@inheritDoc} |
getRepetitionInterval() | Gets a number of days which represents the interval in days between occurrences. |
getValidator(Calendar calendar) | {@inheritDoc} |
setRepetitionInterval(int value) | Sets a number of days which represents the interval in days between occurrences. |
getCalculator(Calendar calendar, Duration duration)
public final RecurrenceDateCalculatorBase getCalculator(Calendar calendar, Duration duration)
Gets a calculator used to calculate a repetition.
Parameters:
Parameter | Type | Description |
---|---|---|
calendar | Calendar | {@inheritDoc} |
duration | Duration | {@inheritDoc} |
Returns: com.aspose.tasks.RecurrenceDateCalculatorBase - {@inheritDoc}
getRepetitionInterval()
public final int getRepetitionInterval()
Gets a number of days which represents the interval in days between occurrences.
Returns: int - a number of days which represents the interval in days between occurrences.
getValidator(Calendar calendar)
public final RecurrencePatternValidatorBase getValidator(Calendar calendar)
Gets a validator for recurrence pattern.
Parameters:
Parameter | Type | Description |
---|---|---|
calendar | Calendar | {@inheritDoc} |
Returns: com.aspose.tasks.RecurrencePatternValidatorBase - {@inheritDoc}
setRepetitionInterval(int value)
public final void setRepetitionInterval(int value)
Sets a number of days which represents the interval in days between occurrences.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | a number of days which represents the interval in days between occurrences. |