Class RecurringInterval
- java.lang.Object
-
- com.aspose.tasks.RecurringInterval
-
public class RecurringInterval extends Object
Represents recurring intervals used in progress lines of a Gantt Chart view.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RecurringInterval.DayType
Represents a day type used in progress lines.
-
Constructor Summary
Constructors Constructor Description RecurringInterval()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDailyDayNumber()
Gets the daily day number.boolean
getDailyWorkday()
Gets a value indicating whether a day is workday for daily progress lines.int
getInterval()
Gets the recurring interval.boolean
getMonthlyDay()
Gets a value indicating whether to show monthly progress lines by day.int
getMonthlyDayDayNumber()
Gets the day number of monthly progress lines.int
getMonthlyDayMonthNumber()
Gets the month number of monthly progress lines.boolean
getMonthlyFirstLast()
Gets a value indicating whether to show progress lines by first or last predefined day.int
getMonthlyFirstLastDay()
Gets the first or the last day type of monthly progress lines.int
getMonthlyFirstLastMonthNumber()
Gets the month number of progress lines, which are shown by first or last predefined day.List<Integer>
getWeeklyDays()
Gets a list of days for weekly progress lines.int
getWeeklyWeekNumber()
Gets the week number for weekly progress lines.void
setDailyDayNumber(int value)
Sets the daily day number.void
setDailyWorkday(boolean value)
Sets a value indicating whether a day is workday for daily progress lines.void
setInterval(int value)
Sets the recurring interval.void
setMonthlyDay(boolean value)
Sets a value indicating whether to show monthly progress lines by day.void
setMonthlyDayDayNumber(int value)
Sets the day number of monthly progress lines.void
setMonthlyDayMonthNumber(int value)
Sets the month number of monthly progress lines.void
setMonthlyFirstLast(boolean value)
Sets a value indicating whether to show progress lines by first or last predefined day.void
setMonthlyFirstLastDay(int value)
Sets the first or the last day type of monthly progress lines.void
setMonthlyFirstLastMonthNumber(int value)
Sets the month number of progress lines, which are shown by first or last predefined day.void
setWeeklyWeekNumber(int value)
Sets the week number for weekly progress lines.
-
-
-
Method Detail
-
getDailyDayNumber
public final int getDailyDayNumber()
Gets the daily day number.
- Returns:
- the daily day number.
-
setDailyDayNumber
public final void setDailyDayNumber(int value)
Sets the daily day number.
- Parameters:
value
- the daily day number.
-
getDailyWorkday
public final boolean getDailyWorkday()
Gets a value indicating whether a day is workday for daily progress lines.
- Returns:
- a value indicating whether a day is workday for daily progress lines.
-
setDailyWorkday
public final void setDailyWorkday(boolean value)
Sets a value indicating whether a day is workday for daily progress lines.
- Parameters:
value
- a value indicating whether a day is workday for daily progress lines.
-
getInterval
public final int getInterval()
Gets the recurring interval. Can be any value of
Interval
(getInterval()
/setInterval(int)
) type.- Returns:
- the recurring interval.
-
setInterval
public final void setInterval(int value)
Sets the recurring interval. Can be any value of
Interval
(getInterval()
/setInterval(int)
) type.- Parameters:
value
- the recurring interval.
-
getMonthlyDay
public final boolean getMonthlyDay()
Gets a value indicating whether to show monthly progress lines by day.
- Returns:
- a value indicating whether to show monthly progress lines by day.
-
setMonthlyDay
public final void setMonthlyDay(boolean value)
Sets a value indicating whether to show monthly progress lines by day.
- Parameters:
value
- a value indicating whether to show monthly progress lines by day.
-
getMonthlyDayDayNumber
public final int getMonthlyDayDayNumber()
Gets the day number of monthly progress lines.
- Returns:
- the day number of monthly progress lines.
-
setMonthlyDayDayNumber
public final void setMonthlyDayDayNumber(int value)
Sets the day number of monthly progress lines.
- Parameters:
value
- the day number of monthly progress lines.
-
getMonthlyDayMonthNumber
public final int getMonthlyDayMonthNumber()
Gets the month number of monthly progress lines.
- Returns:
- the month number of monthly progress lines.
-
setMonthlyDayMonthNumber
public final void setMonthlyDayMonthNumber(int value)
Sets the month number of monthly progress lines.
- Parameters:
value
- the month number of monthly progress lines.
-
getMonthlyFirstLast
public final boolean getMonthlyFirstLast()
Gets a value indicating whether to show progress lines by first or last predefined day.
- Returns:
- a value indicating whether to show progress lines by first or last predefined day.
-
setMonthlyFirstLast
public final void setMonthlyFirstLast(boolean value)
Sets a value indicating whether to show progress lines by first or last predefined day.
- Parameters:
value
- a value indicating whether to show progress lines by first or last predefined day.
-
getMonthlyFirstLastDay
public final int getMonthlyFirstLastDay()
Gets the first or the last day type of monthly progress lines.
- Returns:
- the first or the last day type of monthly progress lines.
-
setMonthlyFirstLastDay
public final void setMonthlyFirstLastDay(int value)
Sets the first or the last day type of monthly progress lines.
- Parameters:
value
- the first or the last day type of monthly progress lines.
-
getMonthlyFirstLastMonthNumber
public final int getMonthlyFirstLastMonthNumber()
Gets the month number of progress lines, which are shown by first or last predefined day.
- Returns:
- the month number of progress lines, which are shown by first or last predefined day.
-
setMonthlyFirstLastMonthNumber
public final void setMonthlyFirstLastMonthNumber(int value)
Sets the month number of progress lines, which are shown by first or last predefined day.
- Parameters:
value
- the month number of progress lines, which are shown by first or last predefined day.
-
getWeeklyDays
public final List<Integer> getWeeklyDays()
Gets a list of days for weekly progress lines.
- Returns:
- a list of days for weekly progress lines.
-
getWeeklyWeekNumber
public final int getWeeklyWeekNumber()
Gets the week number for weekly progress lines.
- Returns:
- the week number for weekly progress lines.
-
setWeeklyWeekNumber
public final void setWeeklyWeekNumber(int value)
Sets the week number for weekly progress lines.
- Parameters:
value
- the week number for weekly progress lines.
-
-