As described here: https://stackoverflow.com/questions/79593358/how-do-you-efficiently-find-gaps-in-one-list-of-datetimes-relative-to-another
As described here: https://stackoverflow.com/questions/79593358/how-do-you-efficiently-find-gaps-in-one-list-of-datetimes-relative-to-another