Bexel Manager API Documentation
Bexel.Api.Scheduling.TaskCalendar Class Reference
Inheritance diagram for Bexel.Api.Scheduling.TaskCalendar:
Bexel.Api.Scheduling.Calendar Bexel.Api.IdentifiableApiObject< CalendarID >

Public Member Functions

IEnumerable< DateTime > GetWorkingHours ()
 
IEnumerable< DateTime > GetWorkingDays ()
 
- Public Member Functions inherited from Bexel.Api.Scheduling.Calendar
IEnumerable< DateTime > GetWorkingHours (DateTime startDate, DateTime finishDate)
 Returns a collection of all working hours of the time period. More...
 
IEnumerable< DateTime > GetWorkingDays (DateTime startDate, DateTime finishDate)
 Returns a collection of all working days of the time period. More...
 
DateTime GetFirstWorkingHour (DateTime date)
 Returns first working hour which is greater or equal to a specified date. More...
 
DateTime GetLastWorkingHour (DateTime date)
 Returns last working hour which is less than or equal to a specified date. More...
 
DateTime AddWorkingHours (DateTime date, int count)
 Returns a working hour computed from the addition of a specified date and working hours count. More...
 
- Public Member Functions inherited from Bexel.Api.IdentifiableApiObject< CalendarID >
bool Equals (IdentifiableApiObject< TId > other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Bexel.Api.IdentifiableApiObject< CalendarID >
static bool operator== (IdentifiableApiObject< TId > left, IdentifiableApiObject< TId > right)
 
static bool operator!= (IdentifiableApiObject< TId > left, IdentifiableApiObject< TId > right)
 
- Properties inherited from Bexel.Api.Scheduling.Calendar
override CalendarID ID [get]
 Returns a unique identifier for the calendar within a single schedule. More...
 
Schedule Schedule [get]
 Returns the schedule to which the calendar belongs. More...
 
override bool IsValid [get]
 
string Name [get]
 Returns the name of the calendar. More...
 
bool Default [get]
 Indicates if the calendar is the default for the schedule to which belongs. More...
 
CalendarDailyWorkingHours DailyWorkingHours [get]
 Returns a collection of all daily working hours within the calendar. More...
 
IReadOnlyDictionary< CalendarExceptionID, CalendarExceptionExceptions [get]
 Returns a collection of all calendar exceptions within the calendar. More...
 
- Properties inherited from Bexel.Api.IdentifiableApiObject< CalendarID >
abstract TId ID [get]