Bug 65548

https://bugs.php.net/bug.php?id=65548

Added separate functions for DateTimeImmutable that are needed for comparison