WorkDay Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class WorkDay : WorkDayBase
The WorkDay type exposes the following members.
| Name | Description | |
|---|---|---|
| Day |
The weekday of the work day.
| |
| FinishHour |
FinishHour
(Inherited from WorkDayBase.) | |
| FinishMinute |
FinishMinute
(Inherited from WorkDayBase.) | |
| FinishTime |
FinishTime
(Inherited from WorkDayBase.) | |
| StartHour |
Indicates the time of day when the workday starts.
If it starts at 8:00, for example, the value will be 8.
Important: the indication is in relation to the time zone of the workweek - but summer/winter time is not taken into account.
Example: In both Denmark and Australia, people work from 8.00-16.00 on Mondays.
There are 2 workweeks in the system (one for each country), as a workweek is time zone specific.
However, in both workweeks, the object for Monday has a value of 8 in StartHour.
The value is not corrected for summer/winter time (you work from 8.00-16.00 all year round!).
(Inherited from WorkDayBase.) | |
| StartMinute |
StartMinute
(Inherited from WorkDayBase.) | |
| StartTime |
StartTime
(Inherited from WorkDayBase.) | |
| TotalFinishMinutes |
TotalFinishMinutes
(Inherited from WorkDayBase.) | |
| TotalStartMinutes |
TotalStartMinutes
(Inherited from WorkDayBase.) |
| Name | Description | |
|---|---|---|
| Clone |
Clone
(Inherited from WorkDayBase.) | |
| GetWorkTimeAmount |
GetWorkTimeAmount
(Inherited from WorkDayBase.) | |
| IsWithinWorkHours |
Determines whether the DateTime (Time) is within the working hours
(Inherited from WorkDayBase.) |
| Name | Description | |
|---|---|---|
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |