For computations in a custom aggregate function it would be very helpful to have the start and end DateTimes for the current category at hand. Right now the category parameter just provides a single DateTime which is the start DateTime of the category. The end DateTime can only be calculated with a workaround provided by Tsvetina
(see this ticket: https://www.telerik.com/account/support-tickets/view-ticket/1386149)