assertWithinASecond(date, dateFormat.parse("Fri March 08 02:26:05 GMT 2013"));
}
@Test
public void testParse_Ruby() throws ParseException {
final DateFormat dateFormat = new CompositeDateFormat();
// yyyy-MM-dd HH:mm:ss Z
// Since Ruby's formats are missing milliseconds, see if they're within
// a second of each other
assertWithinASecond(date, dateFormat.parse("2013-03-07 21:26:05 -0500"));
assertWithinASecond(date, dateFormat.parse("2013-03-08 02:26:05 +0000"));
assertWithinASecond(date, dateFormat.parse("2013/03/07 21:26:05 -0500"));
assertWithinASecond(date, dateFormat.parse("2013/03/08 02:26:05 +0000"));
}