Click or drag to resize

WorkDay Class

WorkDay
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelWorkDayBase
    Omada.OE.ModelWorkDay

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class WorkDay : WorkDayBase

The WorkDay type exposes the following members.

Constructors
  NameDescription
Public methodWorkDay
WorkDay
Top
Properties
  NameDescription
Public propertyDay
The weekday of the work day.
Public propertyFinishHour
FinishHour
(Inherited from WorkDayBase.)
Public propertyFinishMinute
FinishMinute
(Inherited from WorkDayBase.)
Public propertyFinishTime
FinishTime
(Inherited from WorkDayBase.)
Public propertyStartHour
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.)
Public propertyStartMinute
StartMinute
(Inherited from WorkDayBase.)
Public propertyStartTime
StartTime
(Inherited from WorkDayBase.)
Public propertyTotalFinishMinutes
TotalFinishMinutes
(Inherited from WorkDayBase.)
Public propertyTotalStartMinutes
TotalStartMinutes
(Inherited from WorkDayBase.)
Top
Methods
  NameDescription
Public methodClone
Clone
(Inherited from WorkDayBase.)
Public methodGetWorkTimeAmount
GetWorkTimeAmount
(Inherited from WorkDayBase.)
Public methodIsWithinWorkHours
Determines whether the DateTime (Time) is within the working hours
(Inherited from WorkDayBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also