Sign In
Sign Up
Products
Purchase
Downloads
Demos
Forums
Blogs
Documentation
Corporate
Product Suites
Aspose.Total for .NET and Java
Aspose.Total for Reporting Services
File Format Components
Aspose.Words for .NET and Java
Aspose.Cells for .NET and Java
Aspose.Pdf for .NET and Java
Aspose.Slides for .NET and Java
Aspose.Pdf.Kit for .NET and Java
Aspose.Tasks for .NET
Product Information
Programmers Guide
Aspose.Tasks Namespace
AccrueAt Enumeration
Calendar Class
Calendar Members
Properties
Methods
CalendarHours Class
CalendarPeriod Class
CalendarPeriods Class
Calendars Class
Constraint Enumeration
CurrencySettings Class
CurrencySymbolPosition Enumeration
DayOfWeek Enumeration
DefaultSettings Class
DocumentProperties Class
Duration Class
License Class
MPDDatabase Class
MPDPrj Class
MPDPrjInfo Class
MPPFile Class
MPXFile Class
MPXFileFormat Class
MPXHeader Class
MPXRecord Class
PayRate Class
Priority Enumeration
RecurringTask Class
RecurringTaskFrequencyOccurence Enumeration
RecurringTaskFrequencyPeriod Enumeration
RecurringTaskMonthOfYear Enumeration
RecurringTaskWeekOfMonth Enumeration
Relation Class
Relations Class
Resource Class
ResourceAssignment Class
ResourceAssignments Class
ResourceAssignmentWorkgroupFields Class
Resources Class
ScheduleFrom Enumeration
Task Class
TaskFixedType Enumeration
TaskLinkType Enumeration
Tasks Class
TasksCalendarException Class
TasksDBReadAssignmentException Class
TasksDBReadCalendarException Class
TasksDBReadException Class
TasksDBReadInfoException Class
TasksDBReadRelationException Class
TasksDBReadResourceException Class
TasksDBReadTaskException Class
TasksDBWriteAssignmentException Class
TasksDBWriteCalendarException Class
TasksDBWriteException Class
TasksDBWriteInfoException Class
TasksDBWriteRelationException Class
TasksDBWriteResourceException Class
TasksDBWriteTaskException Class
TasksException Class
TasksInvalidDateException Class
TasksInvalidDurationException Class
TasksInvalidFieldNameException Class
TasksInvalidFileException Class
TasksInvalidFormatException Class
TasksInvalidNumberException Class
TasksInvalidOutlineException Class
TasksInvalidRecordException Class
TasksInvalidTimeException Class
TasksInvalidTimeUnitsException Class
TasksMaximumRecordsException Class
TasksReadException Class
TimeUnit Enumeration
WorkingStatus Enumeration
XMLFile Class
Aspose.Tasks.XML Namespace
Aspose.Form for .NET
Aspose.Metafiles for Java
Aspose.Flash for .NET
Aspose.Recognition for .NET
SSRS Rendering Extensions
Aspose.Words for Reporting Services
Aspose.Slides for Reporting Services
Aspose.Cells for Reporting Services
Aspose.Pdf for Reporting Services
Aspose.BarCode for Reporting Services
JasperReports Exporters
Aspose.Slides for JasperReports
Visual Components
Aspose.BarCode for .NET and Java
Aspose.Grid for .NET
Aspose.Chart for .NET
Aspose.Editor for .NET
Aspose.AdHoc for .NET
Utility Components
Aspose.Network for .NET
Aspose.Workflow for .NET
Aspose.iCalendar for .NET
Aspose.Spell for .NET
Aspose.ASPXpand for .NET
Aspose
>
Documentation
>
File Format Components
>
Aspose.Tasks for .NET
>
Aspose.Tasks Namespace
>
Calendar Class
>
Calendar Members
Calendar overview
Public Static (Shared) Methods
Equals
(inherited from
Object
)
Determines whether the specified
Object
instances are considered equal.
ReferenceEquals
(inherited from
Object
)
Determines whether the specified
Object
instances are the same instance.
Public Instance Properties
BaseCalendar
Returns the calendar instance from which this calendar is derived. Read-only
Calendar
.
BaseCalendarName
Returns or sets the base calendar name. Read/write
String
.
DefaultBaseCalendarName
Returns default base calendar name.
Name
Returns or sets calendar name. Read/write
String
.
ParentFile
(inherited from
MPXRecord
)
Returns reference to this MPXFile. Read-only
MPXFile
.
Periods
Returns a list of calendar periods for the current calendar. Read-only
CalendarPeriods
.
UniqueID
Returns or sets the unique ID of this calendar. Read/write
Int32
.
Public Instance Methods
AddCalendarHours
Used to add working hours to the calendar.
AddCalendarPeriod
Used to add exceptions to the calendar.
AddDefaultCalendarHours
Used to add a default set of calendar hours to a calendar.
DeleteAllCalendarPeriod
Used to delete all exceptions from the calendar.
DeleteCalendarHours
Used to delete the calendar hours for the specified day of week.
DeleteCalendarPeriod
Used to delete exception from the calendar.
Equals
(inherited from
Object
)
Determines whether the specified
Object
is equal to the current
Object
.
GetCalendarHours
Returns the calendar hours for the specified day of week.
GetDuration
Returns absolute period of time represented by start and end dates into a duration in working days based on this calendar instance. This method takes account of any exceptions defined for this calendar.
GetEndDate
Returns end date given a start date and a duration.
GetHashCode
(inherited from
Object
)
Serves as a hash function for a particular type.
GetHashCode
is suitable for use in hashing algorithms and data structures like a hash table.
GetType
(inherited from
Object
)
Gets the
Type
of the current instance.
GetWorkingDay
Returns the actual working day flag (
WorkingStatus
).
IsBaseCalendar
Returns
True
if this Calendar instance represents a base calendar.
IsWorkingDate
Returns
True
if a given date is a working day.
IsWorkingDay
Returns
True
if day is a working day.
SetWorkingDay
Overloaded. Sets working day flag (
WorkingStatus
).
ToString
Generates a string representing the contents of this record.
See Also
Calendar Class
|
Aspose.Tasks Namespace