The WorkShift type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| WorkShift()()()() |
Initializes a new instance of the WorkShift class
| |
| WorkShift(Int32, Int32) |
Initializes a new instance of the WorkShift class
| |
| WorkShift(Int32, Int32, Int32) |
Initializes a new instance of the WorkShift class
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Implements ICloneable
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetWorkShiftEnd |
Returns the unique ending time (in minutes) of the WorkShift | |
| GetWorkShiftStart |
Returns the unique starting time (in minutes) of the WorkShift | |
| ToString |
We override to string to print a human readable workshift
(Overrides Object..::..ToString()()()().) |
Properties
| Name | Description | |
|---|---|---|
| ShiftDuration |
The duration of the WorkShift in hours
| |
| ShiftStartHour |
Specifies the hours of the starting time of the WorkShift | |
| ShiftStartMinutes |
Specifies the minutes of the starting time of the WorkShift |
Events
| Name | Description | |
|---|---|---|
| PropertyChanged |
Fired when a property of this object changes
|