it is now possible to pass a php DateTime object to _d() or createCalendar
closes #345