public Timestamp parseToTimestamp(final String text, final ZoneId zoneId) {
    return Timestamp.from(parseZoned(text, zoneId).toInstant());
  }
@Test
  public void shouldParseToTimestamp() {
    // Given
    final String format = "yyyy-MM-dd HH";
    final String timestamp = "1605-11-05 10";

    // When
    final Timestamp ts = new StringToTimestampParser(format).parseToTimestamp(timestamp, ZoneId.systemDefault());

    // Then
    assertThat(ts.getTime(), is(
        FIFTH_OF_NOVEMBER
            .withHour(10)
            .withZoneSameInstant(ZID)
            .toInstant()
            .toEpochMilli()));
  }