DateTime object or string in ISO format or timestamp in milliseconds
DateTime object or string in ISO format or timestamp in milliseconds
The time units of each interval
The number of time units of each interval @todo: Think about using luxon Interval.splitBy
Generated using TypeDoc
Description
Given a time interval (startDate, endDate), splits it in chunks of "intervalSize" * "intervalUnit" time intervals. For example, if "intervalSize" = 10 and "intervalUnit" = 'day', it will split the interval (A, D) in N intervals: [(A, B), (B, C), (C, D)], being the distance of each resulting interval (like (B, C)) of 10 days.