@Test
public void parseW3CDateTimeWithTrailingWhitespaceIsOk() throws Exception {

    assertEquals(
            new Date(1000),
            DateParser.parseW3CDateTime("1970-01-01T00:00:01+00:00   ", Locale.GERMANY)
    );
}