Click or drag to resize

WorkDayBase Class

WorkDayBase
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelWorkDayBase
    Omada.OE.ModelWorkDay
    Omada.OE.ModelWorkDayException

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

The WorkDayBase type exposes the following members.

Constructors
  NameDescription
Protected methodWorkDayBase
Top
Properties
  NameDescription
Public propertyFinishHour
FinishHour
Public propertyFinishMinute
FinishMinute
Public propertyFinishTime
FinishTime
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!).
Public propertyStartMinute
StartMinute
Public propertyStartTime
StartTime
Public propertyTotalFinishMinutes
TotalFinishMinutes
Public propertyTotalStartMinutes
TotalStartMinutes
Top
Methods
  NameDescription
Public methodClone
Clone
Public methodStatic memberFormatTime
FormatTime
Public methodStatic memberGetHours
Returns the hours-part of a time string.
Public methodStatic memberGetMinutes
Returns the minutes-part of a time string.
Public methodGetWorkTimeAmount
GetWorkTimeAmount
Public methodIsWithinWorkHours
Determines whether the DateTime (Time) is within the working hours
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