Since both of those types are based on \DateTimeImmutable they should be comparable.
Since both of those types are based on \DateTimeImmutable they should be comparable.