WeekDay
Contents
[
Hide
]WeekDay class
Represents a weekday which either defines regular days of a week or exception days in a calendar.
The WeekDay type exposes the following members:
Constructors
Name | Description |
---|---|
WeekDay(day_type) | Initializes a new instance of the WeekDay class with the specified day type. |
WeekDay(day_type, working_times) | Initializes a new instance of the WeekDay class |
WeekDay(day_type, working_times) | Initializes a new instance of the WeekDay class with the specified day type and working time periods. |
WeekDay() | Initializes a new instance of the WeekDay class with the specified day type. |
Properties
Name | Description |
---|---|
day_type | Gets the type of a day. |
day_working | Gets or sets a value indicating whether the specified date or day type is working. |
from_date | Gets or sets the beginning of an exception time. |
to_date | Gets or sets the end of an exception time. |
working_times | Gets WorkingTimeCollection for this WeekDay instance. The collection of working times that define the time worked on the weekday. |
Methods
Name | Description |
---|---|
create_default_working_day(day_type) | Creates default working day. |
set_default_working_time(day) | Sets default time periods for the specified week day. |
get_working_time() | Returns the working time for a week day. |
clone() | Returns a deep copy of the week day. |
See Also
- namespace aspose.tasks
- assembly Aspose.Tasks