init(timeInterval:range:)
Creates uniform bins covering the given range. The first bin starts at the lower bound of the range.
Declaration
nonisolated init(timeInterval: TimeInterval, range: ClosedRange<Date>)Parameters
- timeInterval:
The size of the bins.
- range:
The range of the data the bins cover.
Return Value
The bins.