137138139140141142143144145146
time = formatDateTime(cal); testdtFail(time); } private static void test(String output) { boolean result = new TimeChecker().compareExpected(output); if (!result) { fail("Time check failed with " + output); } }
144145146147148149150151152153
fail("Time check failed with " + output); } } private static void testFail(String output) { boolean result = new TimeChecker().compareExpected(output); if (result) { fail("Time check failed with " + output); } }