Interface ICalendar
Contents
[
Hide
]ICalendar interface
Represents a calendar abstraction which can be used for various calculations of dates and durations.
public interface ICalendar
Methods
Name | Description |
---|---|
GetFinishDateByStartAndWork(DateTime, Duration) | Calculates the date when the specified amount of work time will pass according to the calendar. |
GetFinishDateByStartAndWork(DateTime, TimeSpan) | Calculates the date when the specified amount of work time will pass according to the calendar. |
GetNextWorkingDayStart(DateTime) | Calculates next working day start for the specified date. |
GetPreviousWorkingDayEnd(DateTime) | Calculates the end of the previous working date from the specified date. |
GetStartDateFromFinishAndDuration(DateTime, Duration) | Returns start date based on the specified finish date and duration. |
GetStartDateFromFinishAndDuration(DateTime, TimeSpan) | Returns start date based on specified finish date and duration. |
GetTaskFinishDateFromDuration(Task, TimeSpan) | Calculates the task finish date and time from its start date, split parts and the work duration. |
GetWorkingHours(DateTime) | Returns the amount of working hours at the specified date. |
GetWorkingHours(DateTime, DateTime) | Return WorkUnit - Start, Finish and Duration of working hours for the specified date time interval. |
GetWorkingTimes(DateTime) | Returns WorkingTimeCollection of working times for the specified date. |
IsDayWorking(DateTime) | Determines whether the specified day is a working day according to the calendar. |
See Also
- namespace Aspose.Tasks
- assembly Aspose.Tasks