@Test
public void parseTimeZone() throws Exception {

    Calendar cal = DateParser.parse("2012-11-29T13:15:18.176Z");
    assertEquals(13,cal.get(Calendar.HOUR_OF_DAY));
    cal = DateParser.parse("2012-11-29T13:15:18.176+0100");
    assertEquals(12,cal.get(Calendar.HOUR_OF_DAY));
    cal = DateParser.parse("2012-11-29T13:15:18.176+01:00");
    assertEquals(12,cal.get(Calendar.HOUR_OF_DAY));
    cal = DateParser.parse("2012-11-29T13:15:18.176+01");
    assertEquals(12,cal.get(Calendar.HOUR_OF_DAY));
    cal = DateParser.parse("2012-11-29T13:15:18.176-0100");
    assertEquals(14,cal.get(Calendar.HOUR_OF_DAY));
}