The WorkShift type exposes the following members.

Constructors

  NameDescription
Public methodWorkShift()()()()
Initializes a new instance of the WorkShift class
Public methodWorkShift(Int32, Int32)
Initializes a new instance of the WorkShift class
Public methodWorkShift(Int32, Int32, Int32)
Initializes a new instance of the WorkShift class

Methods

  NameDescription
Public methodClone
Implements ICloneable
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWorkShiftEnd
Returns the unique ending time (in minutes) of the WorkShift
Public methodGetWorkShiftStart
Returns the unique starting time (in minutes) of the WorkShift
Public methodToString
We override to string to print a human readable workshift
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyShiftDuration
The duration of the WorkShift in hours
Public propertyShiftStartHour
Specifies the hours of the starting time of the WorkShift
Public propertyShiftStartMinutes
Specifies the minutes of the starting time of the WorkShift

Events

  NameDescription
Public eventPropertyChanged
Fired when a property of this object changes

See Also