implemented DateTimeAssertion.