CandidateDateTimeConverter Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)))