I was reading code in GitHub and i was not able to understand the difference between Shift.java and ShiftTemplate.java class. These classes contain almost the same fields then what is the purpose behind creating these two classes.

1

There are 1 best solutions below

2
On
  • Shift has a date.
  • ShiftTemplate has an offset, but no date.

In the image below, Shifts are the rectangles in the first 2 bands. ShiftTemplate are the rectangles in the 3th band.

enter image description here