@Test
public void testDateTimeDetection() {

  final Reader reader =
      new StringReader(
          "Date"
              + LINE_END
              + "09-Nov-2014 13:03:04"
              + LINE_END
              + "09-Oct-2014 13:03:56"
              + LINE_END);
  final boolean header = true;
  CsvReadOptions options =
      CsvReadOptions.builder(reader)
          .header(header)
          .dateTimeFormat(DateTimeFormatter.ofPattern("dd-MMM-yyyy HH:mm:ss"))
          .build();
  final List<ColumnType> actual = asList(new CsvReader().detectColumnTypes(reader, options));
  assertEquals(Collections.singletonList(LOCAL_DATE_TIME), actual);
}