@Test
    public void testIssue233Overflows() throws ParseException {
        // 1 milli second passed the max time. Fails for JT <2.9, succeeds on >=2.9.
        testOverflow("292278994-08-17T07:12:55.808Z", isJodaTime29OrLater());

        // 1 year passed the max year
        testOverflow("292278995-01-17T07:12:55.807Z", false);
    }
Detect whether we are joda-time 2.9 or later. This is important because some tests test a bug that was fixed
in 2.9. We test for a method named Interval.parseWithOffset(String); that was added in 2.9.

@return true if we are 2.9 or later, false if not.
aws-java-sdk-core/src/test/java/com/amazonaws/util/DateUtilsTest.java