WorkDayBase Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public abstract class WorkDayBase : ICloneable
The WorkDayBase type exposes the following members.
| Name | Description | |
|---|---|---|
| WorkDayBase |
| Name | Description | |
|---|---|---|
| FinishHour |
FinishHour
| |
| FinishMinute |
FinishMinute
| |
| FinishTime |
FinishTime
| |
| 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!).
| |
| StartMinute |
StartMinute
| |
| StartTime |
StartTime
| |
| TotalFinishMinutes |
TotalFinishMinutes
| |
| TotalStartMinutes |
TotalStartMinutes
|
| Name | Description | |
|---|---|---|
| Clone |
Clone
| |
| FormatTime |
FormatTime
| |
| GetHours |
Returns the hours-part of a time string.
| |
| GetMinutes |
Returns the minutes-part of a time string.
| |
| GetWorkTimeAmount |
GetWorkTimeAmount
| |
| IsWithinWorkHours |
Determines whether the DateTime (Time) is within the working hours
|
| 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.) |