public class CalendarException extends Object
Represent exceptional time periods in a calendar.
Constructor and Description |
---|
CalendarException()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkException(Date dt) |
List<Integer> |
getDaysOfWeek() |
boolean |
getDayWorking()
Determines whether the specified date or day type is working.
|
boolean |
getEnteredByOccurrences()
Determines whether the range of recurrence is defined by entering a number of occurrences.
|
Date |
getFromDate() |
int |
getMonth()
The month for which an exception recurrence is scheduled.
|
int |
getMonthDay()
The day of a month on which an exception recurrence is scheduled.
|
int |
getMonthItem()
The month item for which an exception recurrence is scheduled.
|
int |
getMonthPosition()
The position of a month item within a month.
|
String |
getName()
The name of the exception.
|
int |
getOccurrences()
The number of occurrences for which the calendar exception is valid.
|
int |
getPeriod()
The period of recurrence for the exception.
|
Date |
getToDate() |
int |
getType()
The exception type.
|
long |
getWorkingTime() |
List<WorkingTime> |
getWorkingTimes() |
void |
setDaysOfWeek(List<Integer> value) |
void |
setDayWorking(boolean value) |
void |
setEnteredByOccurrences(boolean value) |
void |
setFromDate(Date value) |
void |
setMonth(int value) |
void |
setMonthDay(int value) |
void |
setMonthItem(int value) |
void |
setMonthPosition(int value) |
void |
setName(String value) |
void |
setOccurrences(int value) |
void |
setPeriod(int value) |
void |
setToDate(Date value) |
void |
setType(int value) |
void |
setWorkingTimes(List<WorkingTime> value) |
public boolean getEnteredByOccurrences()
Determines whether the range of recurrence is defined by entering a number of occurrences.
False specifies that the range of recurrence is defined by entering a finish date.
Read/write bool
.
public void setEnteredByOccurrences(boolean value)
public Date getFromDate()
public void setFromDate(Date value)
public Date getToDate()
public void setToDate(Date value)
public int getOccurrences()
The number of occurrences for which the calendar exception is valid.
Read/write int
.
public void setOccurrences(int value)
public String getName()
The name of the exception.
Read/write string
.
public void setName(String value)
public int getType()
The exception type.
Read/write CalendarExceptionType
.
public void setType(int value)
public int getPeriod()
The period of recurrence for the exception.
Read/write int
.
public void setPeriod(int value)
public int getMonthItem()
The month item for which an exception recurrence is scheduled.
Read/write MonthItemType
.
public void setMonthItem(int value)
public int getMonthPosition()
The position of a month item within a month.
Read/write Aspose.Tasks.MonthPosition
.
public void setMonthPosition(int value)
public int getMonth()
The month for which an exception recurrence is scheduled.
Read/write Aspose.Tasks.Month
.
public void setMonth(int value)
public int getMonthDay()
The day of a month on which an exception recurrence is scheduled.
Read/write int
.
public void setMonthDay(int value)
public boolean getDayWorking()
Determines whether the specified date or day type is working.
Read/write bool
.
public void setDayWorking(boolean value)
public List<WorkingTime> getWorkingTimes()
public void setWorkingTimes(List<WorkingTime> value)
public boolean checkException(Date dt)
public long getWorkingTime()
Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.