ShiftChange Class

Represents a change of a shift. It contains an original shift (if there was one) assigned to an employee and a new shift (if there is one) that has replaced it on this day.

Definition

Namespace: SRS.ShiftSolver.Core
Assembly: ShiftSolver (in ShiftSolver.dll) Version: 2.3.0+2c0a765360648175f37b32b9a08ecd256c911c4c
C#
public class ShiftChange
Inheritance
Object    ShiftChange

Properties

Date The date in the planning period that this change occurs. This is the date that the shift starts on.
DayIndex The day index of the planning period that the change occurs on.
EmployeeID The employee ID.
NewShift The new shift. Returns an empty string if the original shift was removed.
NewShiftExists True if the employee now has a shift assigned on this day. False otherwise.
OriginalShift The original shift. Returns an empty string if there was no shift assigned originally.
OriginalShiftExists True if the employee originally had a shift assigned on this day. False otherwise.

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also