Example 4

This scenario builds on Example 2.

The prerequisites are exactly the same as before, we can group the time transactions per day (date) and employee. The problem is that the input element Date now contains a time stamp, for example 2013-06-17T16:43:23. You can create time transactions at different times per day. This setting makes it impossible to group the time transactions per date using the input data as it is. We need to remove the time part of the time stamps before restructuring the data. To achieve this, we must use Collector functions.