I thought I was able to determine which DateInterval is greater the same as done with DateTime, however, either this is not true or I am doing something wrong. Please advise. Thanks!
private function compareDateInterval(\DateInterval $dateInterval1, \DateInterval $dateInterval2):bool
{
$greaterThan = $dateInterval1 > $dateInterval2?'true':'false';
echo("test1: dateInterval1 > dateInterval2: $greaterThan\n");
$dateTimeNow = new \DateTimeImmutable;