com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class WeeklyRepetitionBase

  • Direct Known Subclasses:
    WeeklyRepetition


    public abstract class WeeklyRepetitionBase
    extends Object

    Represents a base class for repetitions in weekly recurrence pattern.

    • Method Detail

      • getCalculator

        public final com.aspose.tasks.RecurrenceDateCalculatorBase getCalculator(Calendar calendar,
                                                                                 Duration duration)
        Gets a calculator used to calculate a repetition.
        Parameters:
        calendar - A calendar.
        duration - A duration.
        Returns:
        a calculator used to calculate a repetition.
      • getRepetitionInterval

        public final int getRepetitionInterval()

        Gets a number of weeks which represents the interval in weeks between occurrences.

        Returns:
        a number of weeks which represents the interval in weeks between occurrences.
      • setRepetitionInterval

        public final void setRepetitionInterval(int value)

        Sets a number of weeks which represents the interval in weeks between occurrences.

        Parameters:
        value - a number of weeks which represents the interval in weeks between occurrences.
      • getValidator

        public final com.aspose.tasks.RecurrencePatternValidatorBase getValidator(Calendar calendar)
        Gets a validator for recurrence pattern.
        Parameters:
        calendar - a calendar.
        Returns:
        a validator for recurrence pattern.