Bug 65548
Added separate methods for DateTimeImmutable that are needed for comparison