This is just a simple calculator for calculating overlapping between events (start and end dates). Algorithm complexity: (n * n - 1) / 2 => quasi polynomial.