class DateTimeDetector implements CellDetector<DateColumnResults> {

    @Override
    public ValuesWithConfidence<DateColumnResults> detect(CellSampler sampler)
    {
        DateTimeFinder finder = new DateTimeFinder(myConfigurationProvider);
        finder.setIsJustDetectFormats(myIsJustDetectFormats);

        return new ValuesWithConfidence<DateColumnResults>(finder.findDates(sampler));
    }

    public  DateTimeDetector(PreferencesRegistry prefsRegistry);

}