Closed brendt closed 5 years ago
We want to calculate multiple gaps like so:
/* * A [====] * B [========] * C [=====] * D [====] * * GAPS [=] [====] [==] */
The method should be called gaps, accept n-amount of periods and calculate all the gaps.
gaps
This can be done by creating a period with the most left and right boundaries, and diffing that period against all others.
It's supported on PeriodCollection now.
PeriodCollection
We want to calculate multiple gaps like so:
The method should be called
gaps
, accept n-amount of periods and calculate all the gaps.This can be done by creating a period with the most left and right boundaries, and diffing that period against all others.