Previously, the summary and charge functions only received the quantity/cost and query time. This caused issues with the query time fell outside of the specific window in time-based metrics.
These functions will now receive a from and to time that represents the lower bound of the current window and the upper bound of the current window respectively.