public class RecurringTaskInfo extends Object
Represents the details of a recurring task in a project.
Modifier and Type | Method and Description |
---|---|
int |
getDailyRepetitions()
Specifies a number of repetitions for the daily recurrence pattern.
|
boolean |
getDailyUseWorkdays()
Returns a flag which determines whether to use workdays for the daily recurrence pattern.
|
Duration |
getDuration()
Specifies the duration for one occurrence of the recurring task.
|
Date |
getEndDate()
Returns the date for the occurrences to end.
|
int |
getMonthlyDay()
Returns a number of day of the monthly recurrence pattern.
|
int |
getMonthlyOrdinalDay()
Returns a day of the monthly recurrence pattern when using ordinal day.
|
int |
getMonthlyOrdinalNumber()
Returns an ordinal number of the monthly recurrence pattern.
|
int |
getMonthlyOrdinalRepetitions()
Returns a number of repetitions for the monthly recurrence pattern when using ordinal day.
|
int |
getMonthlyRepetitions()
Returns a number of repetitions for the monthly recurrence pattern.
|
boolean |
getMonthlyUseOrdinalDay()
Returns a flag which determines whether to use ordinal day for the monthly recurrence pattern.
|
int |
getOccurrences()
Returns a number of occurrences of the recurring task.
|
int |
getRecurrencePattern()
Returns a recurrence pattern of the recurring task.
|
Date |
getStartDate()
Returns the date for the occurrences to begin.
|
Task |
getTask()
Returns the parent task of this instance of
RecurringTaskInfo class. |
boolean |
getUseEndDate()
Returns a flag which determines whether to use the end date or a number of occurrences for the recurring task.
|
int |
getWeeklyDays()
Returns a collection of days used in the weekly recurrence pattern (@code WeekdayType).
|
int |
getWeeklyRepetitions()
Returns a number of repetitions for the weekly recurrence pattern.
|
Date |
getYearlyDate()
Returns a date for the yearly recurrence pattern.
|
int |
getYearlyOrdinalDay()
Returns a weekday of the yearly recurrence pattern when using ordinal day.
|
int |
getYearlyOrdinalMonth()
Returns a month of the yearly recurrence pattern when using ordinal day.
|
int |
getYearlyOrdinalNumber()
Returns an ordinal number of the yearly recurrence pattern.
|
boolean |
getYearlyUseOrdinalDay()
Returns a flag which determines whether to use ordinal day for the yearly recurrence pattern.
|
void |
setDailyRepetitions(int value)
Specifies a number of repetitions for the daily recurrence pattern.
|
void |
setDailyUseWorkdays(boolean value)
Sets a flag which determines whether to use workdays for the daily recurrence pattern.
|
void |
setDuration(Duration value)
Specifies the duration for one occurrence of the recurring task.
|
void |
setEndDate(Date value)
Specifies the date for the occurrences to end.
|
void |
setMonthlyDay(int value)
Specifies a number of day of the monthly recurrence pattern.
|
void |
setMonthlyOrdinalDay(int value)
Sets a day of the monthly recurrence pattern when using ordinal day.
|
void |
setMonthlyOrdinalNumber(int value)
Sets an ordinal number of the monthly recurrence pattern.
|
void |
setMonthlyOrdinalRepetitions(int value)
Specifies a number of repetitions for the monthly recurrence pattern when using ordinal day.
|
void |
setMonthlyRepetitions(int value)
Specifies a number of repetitions for the monthly recurrence pattern.
|
void |
setMonthlyUseOrdinalDay(boolean value)
Sets a flag which determines whether to use ordinal day for the monthly recurrence pattern.
|
void |
setOccurrences(int value)
Specifies a number of occurrences of the recurring task.
|
void |
setRecurrencePattern(int value)
Sets a recurrence pattern of the recurring task.
|
void |
setStartDate(Date value)
Specifies the date for the occurrences to begin.
|
void |
setUseEndDate(boolean value)
Sets a flag which determines whether to use the end date or a number of occurrences for the recurring task.
|
void |
setWeeklyDays(int value)
Specifies a collection of days used in the weekly recurrence pattern (@code WeekdayType).
|
void |
setWeeklyRepetitions(int value)
Specifies a number of repetitions for the weekly recurrence pattern.
|
void |
setYearlyDate(Date value)
Specifies a date for the yearly recurrence pattern.
|
void |
setYearlyOrdinalDay(int value)
Specifies a weekday of the yearly recurrence pattern when using ordinal day.
|
void |
setYearlyOrdinalMonth(int value)
Specifies a month of the yearly recurrence pattern when using ordinal day.
|
void |
setYearlyOrdinalNumber(int value)
Specifies an ordinal number of the yearly recurrence pattern.
|
void |
setYearlyUseOrdinalDay(boolean value)
Specifies a flag which determines whether to use ordinal day for the yearly recurrence pattern.
|
public int getRecurrencePattern()
Returns a recurrence pattern of the recurring task.
Can be one of the values of RecurrencePattern
enum.
RecurrencePattern
enum.public void setRecurrencePattern(int value)
value
- one of the values of RecurrencePattern
enum.public Date getStartDate()
Returns the date for the occurrences to begin.
public void setStartDate(Date value)
value
- the date for the occurrences to begin.public Date getEndDate()
Returns the date for the occurrences to end.
public void setEndDate(Date value)
Specifies the date for the occurrences to end.
value
- the date for the occurrences to end.public Duration getDuration()
Specifies the duration for one occurrence of the recurring task.
the instance of Duration
class.
Duration
class.public void setDuration(Duration value)
Specifies the duration for one occurrence of the recurring task.
value
- the instance of Duration
class.public int getOccurrences()
Returns a number of occurrences of the recurring task.
public void setOccurrences(int value)
Specifies a number of occurrences of the recurring task.
value
- a number of occurrences of the recurring task.public boolean getUseEndDate()
Returns a flag which determines whether to use the end date or a number of occurrences for the recurring task.
public void setUseEndDate(boolean value)
Sets a flag which determines whether to use the end date or a number of occurrences for the recurring task.
value
- a flag which determines whether to use the end date or a number of occurrences for the recurring task.public int getDailyRepetitions()
Specifies a number of repetitions for the daily recurrence pattern.
public void setDailyRepetitions(int value)
Specifies a number of repetitions for the daily recurrence pattern.
value
- a number of repetitions for the daily recurrence pattern.public boolean getDailyUseWorkdays()
Returns a flag which determines whether to use workdays for the daily recurrence pattern.
public void setDailyUseWorkdays(boolean value)
Sets a flag which determines whether to use workdays for the daily recurrence pattern.
value
- a flag which determines whether to use workdays for the daily recurrence pattern.public int getWeeklyRepetitions()
Returns a number of repetitions for the weekly recurrence pattern.
public void setWeeklyRepetitions(int value)
Specifies a number of repetitions for the weekly recurrence pattern.
value
- a number of repetitions for the weekly recurrence pattern.public int getWeeklyDays()
Returns a collection of days used in the weekly recurrence pattern (@code WeekdayType).
public void setWeeklyDays(int value)
Specifies a collection of days used in the weekly recurrence pattern (@code WeekdayType).
value
- a collection of days used in the weekly recurrence pattern (@code WeekdayType).public boolean getMonthlyUseOrdinalDay()
Returns a flag which determines whether to use ordinal day for the monthly recurrence pattern.
public void setMonthlyUseOrdinalDay(boolean value)
value
- a flag which determines whether to use ordinal day for the monthly recurrence pattern.public int getMonthlyOrdinalNumber()
Returns an ordinal number of the monthly recurrence pattern.
Can be one of the values of OrdinalNumber
enum.
public void setMonthlyOrdinalNumber(int value)
value
- an ordinal number of the monthly recurrence pattern (one of the values of OrdinalNumber
enum).public int getMonthlyOrdinalDay()
Returns a day of the monthly recurrence pattern when using ordinal day.
Can be one of the values of DayOfWeek
enum.
DayOfWeek
enum).public void setMonthlyOrdinalDay(int value)
DayOfWeek
enum.value
- a day of the monthly recurrence pattern when using ordinal day (one of the values of DayOfWeek
enum).public int getMonthlyOrdinalRepetitions()
Returns a number of repetitions for the monthly recurrence pattern when using ordinal day.
public void setMonthlyOrdinalRepetitions(int value)
value
- a number of repetitions for the monthly recurrence pattern when using ordinal day.public int getMonthlyDay()
Returns a number of day of the monthly recurrence pattern.
public void setMonthlyDay(int value)
value
- a number of day of the monthly recurrence pattern.public int getMonthlyRepetitions()
Returns a number of repetitions for the monthly recurrence pattern.
public void setMonthlyRepetitions(int value)
value
- a number of repetitions for the monthly recurrence pattern.public boolean getYearlyUseOrdinalDay()
Returns a flag which determines whether to use ordinal day for the yearly recurrence pattern.
public void setYearlyUseOrdinalDay(boolean value)
value
- a flag which determines whether to use ordinal day for the yearly recurrence pattern.public Date getYearlyDate()
Returns a date for the yearly recurrence pattern.
public void setYearlyDate(Date value)
value
- a date for the yearly recurrence pattern.public int getYearlyOrdinalNumber()
Returns an ordinal number of the yearly recurrence pattern.
Can be one of the values of OrdinalNumber
enum.
OrdinalNumber
enum).public void setYearlyOrdinalNumber(int value)
OrdinalNumber
enum.value
- an ordinal number of the yearly recurrence pattern (one of the values of OrdinalNumber
enum).public int getYearlyOrdinalDay()
Returns a weekday of the yearly recurrence pattern when using ordinal day.
Can be one of the values of DayOfWeek
enum.
DayOfWeek
enum).public void setYearlyOrdinalDay(int value)
DayOfWeek
enum.value
- a weekday of the yearly recurrence pattern when using ordinal day (one of the values of DayOfWeek
enum).public int getYearlyOrdinalMonth()
Returns a month of the yearly recurrence pattern when using ordinal day.
Can be one of the values of Month
enum.
Month
enum).public void setYearlyOrdinalMonth(int value)
value
- a month of the yearly recurrence pattern when using ordinal day (one of the values of Month
enum).public Task getTask()
Returns the parent task of this instance of RecurringTaskInfo
class.
RecurringTaskInfo
class.Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.