Skip to main content

Class DateTimeChecker

A concrete implementation of [Workspace.XBR.Xperiflow.Etl.Tabular.Utilities.IDataTypeChecker](../Xperiflow.Etl.Tabular.Utilities/IDataTypeChecker.md) for checking if a value is a DateTime

Namespace: Workspace.XBR.Xperiflow.Etl.Tabular.Utilities

Assembly: Xperiflow.dll

Declaration
public class DateTimeChecker : IDataTypeChecker

Implements: Workspace.XBR.Xperiflow.Etl.Tabular.Utilities.IDataTypeChecker

Properties

DataTypeName

The DataTypeChecker's data type name

Declaration
public Type DataTypeName { get; }

MatchCount

The number of times the data type checker has matched a value

Declaration
public int MatchCount { get; set; }

Methods

GetConfidenceLevel(int)

The confidence level of the data type checker, calculated as the MatchCount divided by the total number of samples

Declaration
public float GetConfidenceLevel(int totalSamples)
Returns

System.Single

Parameters
TypeNameDescription
System.Int32totalSamplesThe total number of samples

TryParse(string)

Implements a specific TryParse method for the data type checker

Declaration
public bool TryParse(string value)
Returns

System.Boolean

true if the value is of the data type, false otherwise

Parameters
TypeNameDescription
System.StringvalueThe value to check

Implements

Inherited Members

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString

Was this page helpful?