public Timestamp parseToTimestamp(final String text) {
    return new Timestamp(parse(text));
  }
@Test
  public void shouldParseToTimestamp() {
    assertThat(parser.parseToTimestamp("2017-11-13T23:59:58").getTime(), is(1510617598000L));
    assertThat(parser.parseToTimestamp("2017-11-13T23:59:58.999-0100").getTime(), is(1510621198999L));
  }