Given an array of objects that each contain a Date or parsable date-like property,
create a new, two-dimensional array that groups those objects by date, up to the
given precision.
Note: this method requires that the provided source first be sorted in the direction
of the desired result (either ascending or descending).
Given an array of objects that each contain a Date or parsable date-like property, create a new, two-dimensional array that groups those objects by date, up to the given precision.
Note: this method requires that the provided source first be sorted in the direction of the desired result (either ascending or descending).