CandidateDateTimeConverter Constructor

Definition

Specialized result of type inference used by DataPrep to suggest DateTime conversion. Note: It can be in valid or invalid state. Valid state means that, based on the scanned data, a list of unambiguous formats was detected and DateTimeConverter could be created from this candidate. Invalid state means that either sampled values seen during inference were inconclusive(like with 1/1/2018 it is unclear if day is before month) or conflicting.

public:
 CandidateDateTimeConverter(System::Collections::Generic::List<System::String ^> ^ formats, System::Collections::Generic::List<System::Collections::Generic::List<System::String ^> ^> ^ ambiguousFormats);
public CandidateDateTimeConverter(System.Collections.Generic.List<string> formats, System.Collections.Generic.List<System.Collections.Generic.List<string>> ambiguousFormats);
new Microsoft.DataPrep.Common.CandidateDateTimeConverter : System.Collections.Generic.List<string> * System.Collections.Generic.List<System.Collections.Generic.List<string>> -> Microsoft.DataPrep.Common.CandidateDateTimeConverter
Public Sub New (formats As List(Of String), ambiguousFormats As List(Of List(Of String)))

Parameters

formats
List<String>

Unambiguous date formats detected during type inference.

ambiguousFormats
List<List<String>>

Ambiguous date formats detected during type inference.

Applies to