@Test
public void testTimeDetection1() {

  final Reader reader =
      new StringReader("Date" + LINE_END + "09-NOV-2014" + LINE_END + "09-OCT-2014" + LINE_END);
  final boolean header = true;
  CsvReadOptions options =
      CsvReadOptions.builder(reader)
          .header(header)
          .dateFormat(
              new DateTimeFormatterBuilder()
                  .parseCaseInsensitive()
                  .appendPattern("dd-MMM-yyyy")
                  .toFormatter())
          .build();
  final List<ColumnType> actual = asList(new CsvReader().detectColumnTypes(reader, options));
  assertEquals(Collections.singletonList(LOCAL_DATE), actual);
}