public long parse(final String text) {
    return parse(text, ZoneId.systemDefault());
  }
@Test
  public void shouldConvertToMillis() {
    // Given
    final String format = "yyyy-MM-dd HH";
    final String timestamp = "1605-11-05 10";

    // When
    final long ts = new StringToTimestampParser(format).parse(timestamp);

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