Bexel Manager API Documentation
Bexel.Api.Scheduling.CalendarDailyWorkingHours Class Reference

Represents a collection of all daily working hours within the Bexel.Api.Scheduling.Calendar. More...

Public Member Functions

bool IsWorkingDay (DayOfWeek dayOfWeek)
 Returns value that indicates whether the day of a week is working day. More...
 
IEnumerable< int > GetWorkingHours (DayOfWeek dayOfWeek)
 Returns all working hours for the specified day of a week. Working hour values can be between 0 and 23h. More...
 

Properties

IEnumerable< DayOfWeek > Days [get]
 Returns working days of a week. Working hour values can be between 0 and 23h. More...
 

Detailed Description

Represents a collection of all daily working hours within the Bexel.Api.Scheduling.Calendar.

Member Function Documentation

◆ GetWorkingHours()

IEnumerable<int> Bexel.Api.Scheduling.CalendarDailyWorkingHours.GetWorkingHours ( DayOfWeek  dayOfWeek)

Returns all working hours for the specified day of a week. Working hour values can be between 0 and 23h.

Parameters
dayOfWeekRepresents the day of a week.
Returns
All working hours within the specified day of a week.

◆ IsWorkingDay()

bool Bexel.Api.Scheduling.CalendarDailyWorkingHours.IsWorkingDay ( DayOfWeek  dayOfWeek)

Returns value that indicates whether the day of a week is working day.

Parameters
dayOfWeekRepresents the day of a week.
Returns
True if the day of a week has working hours.

Property Documentation

◆ Days

IEnumerable<DayOfWeek> Bexel.Api.Scheduling.CalendarDailyWorkingHours.Days
get

Returns working days of a week. Working hour values can be between 0 and 23h.