Click or drag to resize

DFDateTimeColumn Class

Class DFDataTimeColumn represents a column of DataTime data in a data frame.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreDFColumn
    CenterSpace.NMath.CoreDFDateTimeColumn

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class DFDateTimeColumn : DFColumn

The DFDateTimeColumn type exposes the following members.

Constructors
 NameDescription
Protected methodDFDateTimeColumn Default constructor.
Public methodDFDateTimeColumn(String) Constructs a DFDateTimeColumn instance with the given name, a date format as specified in StatsSettings.DateTimeFormat and a missing value as specified in StatsSettings.DateTimeMissingValue.
Public methodDFDateTimeColumn(String, IDFColumn) Constructs a DFDateTimeColumn instance with the given name. Column elements are initialized with data from the given column, after conversion to DateTime.
Public methodDFDateTimeColumn(String, DateTime) Constructs a DFDateTimeColumn instance with the given name, a date format as specified in StatsSettings.DateTimeFormat and a missing value as specified in StatsSettings.DateTimeMissingValue. Column elements are initialized with data from the given array.
Top
Properties
 NameDescription
Public propertyColumnType Gets the type of the objects held by this column.
(Overrides DFColumnColumnType)
Public propertyCount Gets the number of ojects in this column.
(Inherited from DFColumn)
Public propertyDateFormat Gets and sets the date format.
Public propertyIsNumeric Returns true if the objects in this column are integers or floating point numbers; otherwise, false.
(Inherited from DFColumn)
Public propertyIsSynchronized Returns false. Access to this class is not synchronized.
(Inherited from DFColumn)
Public propertyItem Gets the object in this column at the given position.
Public propertyLabel Gets and sets the label in the header of this column.
(Inherited from DFColumn)
Public propertyMissingValue Gets and sets the value used to represent missing values in this column.
Public propertyName Gets the name of this column.
(Inherited from DFColumn)
Public propertySyncRoot Gets an object that can be used to synchronize access to this ICollection.
(Inherited from DFColumn)
Top
Methods
 NameDescription
Public methodAdd Adds an object to this column.
(Inherited from DFColumn)
Public methodApply(String, FuncDateTime, DateTime) Returns a new column with the given name and same size as this column, whose values are the result of applying the given unary function to each element of this column.
Public methodApply(String, FuncDateTime, DateTime, DateTime, DFDateTimeColumn) Returns a new column with the given name and same size as this column, whose values are the result of applying the given binary function to each element of this column. The first parameter to the binary function is an element of self; the second parameter is the corresponding element of the passed column.
Public methodApply(String, FuncDateTime, DateTime, DateTime, DateTime) Returns a new column with the given name and same size as this column, whose values are the result of applying the given binary function to each element of this column. The first parameter to the binary function is the column element; the second parameter is the passed date.
Public methodClean Returns a copy of this column without missing values.
Public methodClone Returns a deep copy of this column.
(Overrides DFColumnClone)
Public methodConvert Converts an object to the type held by this column.
(Overrides DFColumnConvert(Object))
Public methodCopyTo(Array) Copies the contents of this column into the given array, beginning at the first position within the array.
(Inherited from DFColumn)
Public methodCopyTo(Array, Int32) Copies the contents of this column into the given array, beginning at the given position within the array.
(Inherited from DFColumn)
Public methodGetEnumerator Returns an enumerator for this column.
(Inherited from DFColumn)
Public methodGetFactor Creates a factor from this column.
(Inherited from DFColumn)
Public methodGetFactor(Object) Creates a factor from this column.
(Inherited from DFColumn)
Public methodInsert Inserts an object into this column and the given position.
(Inherited from DFColumn)
Public methodIsMissing Returns true if the element at the given position is missing; otherwise, false.
(Overrides DFColumnIsMissing(Int32))
Public methodPermute Permutes the objects in this column by the given permutation vector (ranks).
(Inherited from DFColumn)
Public methodRemoveAt Removes the object from this column at the given position.
(Inherited from DFColumn)
Public methodSubColumn(Slice) Gets the subcolumn specified by the given Slice.
(Inherited from DFColumn)
Public methodSubColumn(Subset) Gets the subcolumn specified by the given Subset.
(Overrides DFColumnSubColumn(Subset))
Public methodSwap Swaps the position of the given elements in the column.
(Inherited from DFColumn)
Public methodToArray Exports the contents of this column to an array.
(Inherited from DFColumn)
Public methodToDoubleArray Extracts the contents of a column to an array of doubles.
(Inherited from DFColumn)
Public methodToDoubleVector Extracts the contents of a column to a DoubleVector.
(Inherited from DFColumn)
Public methodToIntArray Extracts the contents of a column to an array of integers.
(Inherited from DFColumn)
Public methodToString Returns a formatted string representation of this column.
(Inherited from DFColumn)
Public methodToString(Int32) Formatted string representation of the date. Uses StatsSettings format.
(Overrides DFColumnToString(Int32))
Public methodToString(Int32, String) Formatted string representation of the date.
(Overrides DFColumnToString(Int32, String))
Public methodToStringArray Exports the contents of this column to an array of strings. Uses StatsSettings format.
(Overrides DFColumnToStringArray)
Public methodToStringArray(String) Exports the contents of this column to a formatted array of strings.
(Overrides DFColumnToStringArray(String))
Public methodTransform(FuncDateTime) Modifies the elements of this column by applying the given no-argument function to each element.
Public methodTransform(FuncDateTime, DateTime) Modifies the elements of this column by applying the given unary function to each element.
Public methodTransform(FuncDateTime, DateTime, DateTime, DFDateTimeColumn) Modifies the contents of this column by applying the given binary function to each element. The first parameter to the binary function is an element of self; the second parameter is the corresponding element of the passed column.
Public methodTransform(FuncDateTime, DateTime, DateTime, DateTime) Modifies the contents of this column by applying the given binary function to each element. The first parameter to the binary function is the column element; the second parameter is the passed date.
Top
Fields
 NameDescription
Protected fieldlabel_ The label in the header of this column. Can be changed.
(Inherited from DFColumn)
Protected fieldlist_ An array list of column elements.
(Inherited from DFColumn)
Protected fieldmissingValue_ Value used to represent missing values in this column.
(Inherited from DFColumn)
Protected fieldname_ The name of this column. Must be set in the constructor.
(Inherited from DFColumn)
Top
Remarks
Elements are stored as System.DateTime.
See Also