added support for DateTimeInterface for PHP < 5.5