Oops, there's a code completion failure in the diff. Obviously it should be Exception, not TypeCastException in the standar time test case.
Timestamp conversion for instants during daylight saving time is off