public void testForStyle_shortDateTime() throws Exception {
DateTimeFormatter f = DateTimeFormat.shortDateTime();
DateTimeFormatter g = DateTimeFormat.forStyle("SS");
assertSame(g, f);
DateTime dt = new DateTime(2004, 6, 9, 10, 20, 30, 0);
String expect = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, UK).format(dt.toDate());
assertEquals(expect, f.print(dt));
expect = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, US).format(dt.toDate());
assertEquals(expect, f.withLocale(US).print(dt));
expect = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, FRANCE).format(dt.toDate());
assertEquals(expect, f.withLocale(FRANCE).print(dt));