If the user clocks in at 8:00 and clocks out at 9:15 the period recorded should be 75mins
however
If the user clocks in at 8:00 and clocks out at 10:00 the period recorded should be 105mins (15 mins deducted for break 1)
or
If the user clocks in at 11:00 and clocks out at 17:00 the period recorded should be 320mins (40 mins deducted for break 2 + break 3)
etc, etc....

The user can clock in/out at any time, however if the clocked in time crosses a break period, this period needs to be deducted