Click or drag to resize

DateTimeColumn Class

Summary description for Altaxo.Data.DateTimeColumn.
Inheritance Hierarchy

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class DateTimeColumn : DataColumn, 
	INumericColumn, IReadableColumn, ICloneable, INumericSequence<double>

The DateTimeColumn type exposes the following members.

Constructors
 NameDescription
Public methodDateTimeColumnInitializes a new instance of the DateTimeColumn class
Public methodDateTimeColumn(DateTimeColumn)Initializes a new instance of the DateTimeColumn class
Public methodDateTimeColumn(Int32)Initializes a new instance of the DateTimeColumn class
Top
Properties
 NameDescription
Protected propertyAccumulatedEventData Gets the accumulated event data.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Public propertyArray 
Public propertyAssignVector Provides a setter property to which a vector can be assigned to. Copies all elements of the vector to this column.
(Inherited from DataColumn)
Public propertyCount
(Overrides DataColumnCount)
Public propertyData Provides a setter property to which another data column can be assigned to. Copies all elements of the other DataColumn to this column. An exception is thrown if the data types of both columns are incompatible. See also CopyDataFrom(Object).
(Inherited from DataColumn)
Protected propertyDebug_AbsolutePath Gets the absolute path of the node for debugging purposes.
(Inherited from SuspendableDocumentNodeBase)
Public propertyFullName Returns either the column name if the column has no parent table, or the parent table name, followed by a backslash and the column name if the column has a table.
(Inherited from DataColumn)
Public propertyIsDirty Column is dirty if either there are new changed or deleted rows, and no data changed event was fired for notification. This value is reseted after the data changed event has notified the change.
(Inherited from DataColumn)
Public propertyIsDisposed Gets a value indicating whether this instance is disposed.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsDisposeInProgress Gets a value indicating whether for this instance dispose is in progress, or the instance is already disposed.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsReadOnly
(Inherited from DataColumn)
Public propertyIsSomeoneListeningToChanges Gets a value indicating whether someone is listening to changes. For this, either the ParentObject or the Changed event must be set.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsSuspended Gets a value indicating whether this instance is suspended.
(Inherited from SuspendableDocumentLeafNode)
Public propertyItem 
Public propertyItemType Gets the type of the colum's items.
(Overrides DataColumnItemType)
Public propertyName Gets the name of this document node. Null is returned if the name is not set or unknown. The set accessor will for most nodes throw a InvalidOperationException, since the name can only be set on IProjectItems.
(Inherited from SuspendableDocumentNodeBase)
Public propertyParentObject Get / sets the parent object of this data column.
(Inherited from DataColumn)
Public propertyTypeAndName Returns the column type followed by a backslash and the column name.
(Inherited from DataColumn)
Top
Methods
 NameDescription
Protected methodAccumulateChangeData(Object, EventArgs) Accumulates the change data of the child. Currently only a flag is set to signal that the table has changed.
(Inherited from DataColumn)
Protected methodAccumulateChangeData(Int32, Int32, Boolean) Accumulates the change data provided in the arguments into the m_ChangeData member.
(Inherited from DataColumn)
Protected methodAccumulatedChangeData_SetBackAfterResumeAndSuspend Sets the change data without further processing. This function is infrastructure and intended to use only in OnResume after the parent has suspended this node again.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Protected methodAccumulatedEventData_Clear Clears the accumulated event data.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Protected methodAccumulatedEventData_HasZeroOrOneEventArg Determines whether there is no or only one single event arg accumulated. If this is the case, the return value is true. If there is one event arg accumulated, it is returned in the argument singleEventArg. The return value is false if there is more than one event arg accumulated. In this case the singleEventArg is null on return, and the calling function should use AccumulatedEventData to enumerate all accumulated event args.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Public methodAdd
(Inherited from DataColumn)
Public methodAppend Appends data from another column to this column
(Inherited from DataColumn)
Public methodAppendToPosition Appends data from another column to this column
(Inherited from DataColumn)
Protected methodChildDisposeMemberT Helper function to dispose a child node of this instance. It helps to ensure the correct order: first, the child node is set to null and only then the child node is disposed.
(Inherited from SuspendableDocumentNodeBase)
Public methodClear Clears all rows.
(Inherited from DataColumn)
Public methodClone
(Overrides DataColumnClone)
Public methodContains
(Inherited from DataColumn)
Public methodCopyDataFrom
(Overrides DataColumnCopyDataFrom(Object))
Public methodCopyHeaderInformationFrom copies the header information, like label and so on from another column to this column ColumnName and ColumnNumber is not copied!
(Inherited from DataColumn)
Public methodCopyTo
(Inherited from DataColumn)
Public methodCreateColumnOfSelectedRows(IAscendingIntegerCollection) Creates a new column, consisting only of the selected rows of the original column.
(Inherited from DataColumn)
Public methodCutToMaximumLength Cuts the column to the provided length. The actual length of the column may be less than the provided parameter if the column contains empty elements.
(Inherited from DataColumn)
Public methodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from SuspendableDocumentNodeBase)
Protected methodDispose(Boolean) Releases unmanaged and - optionally - managed resources.
(Inherited from SuspendableDocumentNodeBase)
Public methodEhParentTunnelingEventHappened Is called by the parent when a tunneling event happened into the parent.
(Inherited from SuspendableDocumentNodeBase)
Public methodEhSelfChanged Calls EhSelfChanged with EventArgs.Empty
(Inherited from SuspendableDocumentLeafNodeWithEventArgs)
Protected methodEhSelfChanged(EventArgs) Called if some member of this instance itself has changed.
(Inherited from SuspendableDocumentLeafNode)
Protected methodEhSelfChanged(Int32, Int32, Boolean) This function has to be called by derived classes if any changes in their data occur.
(Inherited from DataColumn)
Public methodEhSelfTunnelingEventHappened(TunnelingEventArgs) Is called by this instance if a tunneling event happened into this instance. The tunneling event triggers the TunneledEvent and is additionally distributed to all childs of this instance.
(Inherited from SuspendableDocumentNodeBase)
Public methodEhSelfTunnelingEventHappened(TunnelingEventArgs, Boolean) Is called by this instance if a tunneling event happened into this instance. The tunneling event triggers the TunneledEvent and is - depending on the provided parameter - also distributed to all childs of this instance.
(Inherited from SuspendableDocumentNodeBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Finalizes an instance of the SuspendableDocumentNodeBase class.
(Inherited from SuspendableDocumentNodeBase)
Public methodGetColumnStyleType
(Overrides DataColumnGetColumnStyleType)
Public methodGetEnumerator
(Inherited from DataColumn)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodGetValueDirect 
Public methodGetVariantAt
(Overrides DataColumnGetVariantAt(Int32))
Protected methodHandleLowPriorityChildChangeCases Handles the cases when a child changes, but a reaction is neccessary only if the table is not suspended currently.
(Inherited from SuspendableDocumentLeafNode)
Public methodIndexOf
(Inherited from DataColumn)
Public methodIndicesOf Gets all indices where the element is equal to the value given in item.
(Inherited from DataColumn)
Public methodInsert
(Inherited from DataColumn)
Public methodInsertRows
(Overrides DataColumnInsertRows(Int32, Int32))
Public methodIsElementEmpty
(Overrides DataColumnIsElementEmpty(Int32))
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnAboutToBeResumed Is called when the suspend level is still 1 (one), but is about to fall to zero, i.e. shortly before the call to OnResume. This function is not called before OnResumeSilently!
(Inherited from SuspendableDocumentLeafNode)
Protected methodOnChanged Fires the change event with the EventArgs provided in the argument.
(Inherited from SuspendableDocumentNodeBase)
Protected methodOnResume Is called when the suspend level falls down from 1 to zero by a call to Resume or a call to [M:Altaxo.Main.ISuspendToken.Dispose()].
(Inherited from SuspendableDocumentLeafNode)
Protected methodOnResumeSilently Is called when the suspend level falls down from 1 to zero by a call to ResumeSilently. The implementation should delete any accumulated events, should also disarm the suspendTokens of the childs of this object, and should not fire any Changed events nor set the change state of the object to dirty.
(Inherited from SuspendableDocumentLeafNode)
Protected methodOnSuspended Called when the suspend level has just gone from 0 to 1, i.e. the object was suspended.
(Inherited from SuspendableDocumentLeafNode)
Protected methodOnTunnelingEvent Fires the TunneledEvent event.
(Inherited from SuspendableDocumentNodeBase)
Protected methodRealloc 
Public methodRemove
(Inherited from DataColumn)
Public methodRemoveAt
(Inherited from DataColumn)
Public methodRemoveRows
(Overrides DataColumnRemoveRows(Int32, Int32))
Public methodResume(ISuspendToken) Resumes changed events by calling Resume for the provided suspend token, and setting the reference to the suspend token to null. If Event data were accumulated during the suspended state, a changed event is triggered for each event data.
(Inherited from SuspendableDocumentNodeBase)
Public methodResume(ISuspendToken, EventFiring) Resumes changed events, either with taking the accumulated event data into account (see Resume(ISuspendToken)) or discarding the accumulated event data (see ResumeSilently(ISuspendToken), depending on the provided argument eventFiring.
(Inherited from SuspendableDocumentNodeBase)
Public methodResumeCompleteTemporarily Resumes the object completely for only a short time. Thus, if object was suspended before, it will be suspended again when the function returns.
(Inherited from SuspendableDocumentLeafNode)
Public methodResumeCompleteTemporarilyGetToken Resumes the object completely for the time the returned token is referenced and not disposed. The return value is a token that had 'absorbed' the suspend count of the object, resulting in the suspend count of the object dropped to 0 (zero). When the returned token is finally disposed, the suspend count of the object is increased again by the 'absorbed' suspend count.
(Inherited from SuspendableDocumentLeafNode)
Public methodResumeSilently Resumes changed events by calling Resume for the provided suspend token, and setting the reference to the suspend token to null. All event data accumulated during the suspended state are discarded, and thus no change event is triggered even if the instance has changed during the suspended state.
(Inherited from SuspendableDocumentNodeBase)
Public methodSetDisposeInProgress Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from SuspendableDocumentNodeBase)
Public methodSetElementEmpty
(Overrides DataColumnSetElementEmpty(Int32))
Protected methodSetMemberAndRaiseSelfChangedT(NullableT, NullableT) Sets a member variable of this instance and raise a change event with Empty if the new value is different from the old value. The comparison is done using the IEquatableT interface of the member variable. Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase)
Protected methodSetMemberAndRaiseSelfChangedT(T, T) Sets a member variable of this instance and raise a change event with Empty if the new value is different from the old value. The comparison is done using the IEquatableT interface of the member variable. Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase)
Protected methodSetMemberEnumAndRaiseSelfChangedT Sets a member variable (which is an Enum) of this instance and raise a change event with Empty if the new value is different from the old value. The comparison is done using the IEquatableT interface of the member variable. Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase)
Public methodSetValueAt
(Overrides DataColumnSetValueAt(Int32, AltaxoVariant))
Public methodSuspendGetToken Suspend will increase the SuspendLevel.
(Inherited from SuspendableDocumentLeafNode)
Public methodToROVector Creates a wrapper that implements IROVector with starting index = 0 and number of elements = Count.
(Inherited from DataColumn)
Public methodToROVector(Int32, Int32) Creates a wrapper that implements IROVector.
(Inherited from DataColumn)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodToVector Creates a wrapper that implements IVector with starting index = 0 and number of elements = Count.
(Inherited from DataColumn)
Public methodToVector(Int32, Int32) Creates a wrapper that implements IVector.
(Inherited from DataColumn)
Public methodTryGetName Test if this item already has a name.
(Inherited from SuspendableDocumentNodeBase)
Public methodvop_Addition(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Addition(DataColumn, DataColumn) Adds another data column to this data column (item by item).
(Inherited from DataColumn)
Public methodvop_Addition_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Addition_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_And(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_And(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_And_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_And_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Complement
(Inherited from DataColumn)
Public methodvop_Decrement
(Inherited from DataColumn)
Public methodvop_Division(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Division(DataColumn, DataColumn) Divides this data column by another data column(item by item).
(Inherited from DataColumn)
Public methodvop_Division_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Division_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_False
(Inherited from DataColumn)
Public methodvop_Greater(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Greater(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Greater_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Greater_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_GreaterOrEqual(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_GreaterOrEqual(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_GreaterOrEqual_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_GreaterOrEqual_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Increment
(Inherited from DataColumn)
Public methodvop_Lesser(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Lesser(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Lesser_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Lesser_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_LesserOrEqual(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_LesserOrEqual(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_LesserOrEqual_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_LesserOrEqual_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Minus
(Inherited from DataColumn)
Public methodvop_Modulo(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Modulo(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Modulo_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Modulo_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Multiplication(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Multiplication(DataColumn, DataColumn) Multiplies another data column to this data column (item by item).
(Inherited from DataColumn)
Public methodvop_Multiplication_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Multiplication_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Not
(Inherited from DataColumn)
Public methodvop_Or(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Or(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Or_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Or_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Plus
(Inherited from DataColumn)
Public methodvop_ShiftLeft(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_ShiftLeft(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_ShiftLeft_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_ShiftLeft_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_ShiftRight(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_ShiftRight(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_ShiftRight_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_ShiftRight_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Subtraction(AltaxoVariant, DataColumn)
(Overrides DataColumnvop_Subtraction(AltaxoVariant, DataColumn))
Public methodvop_Subtraction(DataColumn, DataColumn)
(Overrides DataColumnvop_Subtraction(DataColumn, DataColumn))
Public methodvop_Subtraction_Rev(AltaxoVariant, DataColumn)
(Overrides DataColumnvop_Subtraction_Rev(AltaxoVariant, DataColumn))
Public methodvop_Subtraction_Rev(DataColumn, DataColumn)
(Overrides DataColumnvop_Subtraction_Rev(DataColumn, DataColumn))
Public methodvop_True
(Inherited from DataColumn)
Public methodvop_Xor(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Xor(DataColumn, DataColumn)
(Inherited from DataColumn)
Public methodvop_Xor_Rev(AltaxoVariant, DataColumn)
(Inherited from DataColumn)
Public methodvop_Xor_Rev(DataColumn, DataColumn)
(Inherited from DataColumn)
Top
Events
 NameDescription
Public eventChangedFired when something in the object has changed, and the object is not suspended.
(Inherited from SuspendableDocumentNodeBase)
Public eventTunneledEvent The event that is fired when the object is disposed. First argument is the sender, second argument is the original source, and third argument is the event arg.
(Inherited from SuspendableDocumentNodeBase)
Top
Operators
Fields
 NameDescription
Protected field_accumulatedEventData Holds the accumulated change data.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Protected field_parent The parent object this instance belongs to.
(Inherited from SuspendableDocumentNodeBase)
Public fieldStatic memberNullValue 
Top
Extension Methods
 NameDescription
Public Extension MethodGetUnderlyingDataColumnOrDefault Gets the underlying data column (of type DataColumn) or the default value null.
(Defined by TransformedReadableColumnExtensions)
Public Extension MethodIsMonotonicallyIncreasing Determines if column c has monotonically increasing values.
(Defined by ColumnMath)
Public Extension MethodSetColumnFromFractionalIndex Fills destination column with values from an original column by help of a fractional index.
(Defined by MergeTables)
Public Extension MethodShowRenameColumnDialog Asks for a new name and then renames the selected data column or property column.
(Defined by ColumnCommands)
Public Extension MethodToHorzMatrix This returns a read and writeable, horizontal oriented matrix of a DoubleColumn
(Defined by DataColumnWrapper)
Public Extension MethodToHorzROMatrix This returns a horizontal oriented, readonly matrix of a DoubleColumn
(Defined by DataColumnWrapper)
Public Extension MethodToROVector This returns a read-only vector of a INumericColumn
(Defined by DataColumnWrapper)
Public Extension MethodToROVector This returns a read-only vector of a INumericColumn for selected rows.
(Defined by DataColumnWrapper)
Public Extension MethodToROVector This returns a read-only vector of a INumericColumn
(Defined by DataColumnWrapper)
Public Extension MethodToROVector This returns a read-only vector of a INumericColumn
(Defined by DataColumnWrapper)
Public Extension MethodToROVector This returns a read-only vector of a INumericColumn
(Defined by DataColumnWrapper)
Public Extension MethodToROVector This returns a read-only vector of a INumericColumn
(Defined by DataColumnWrapper)
Public Extension MethodToROVectorCopy This returns a read-only vector of a INumericColumn, but the data are copyied before. Thus, if you change the data into the numeric column, the data of the returned vector is not influenced.
(Defined by DataColumnWrapper)
Public Extension MethodToVector This returns a read and writeable vector of a DoubleColumn
(Defined by DataColumnWrapper)
Public Extension MethodToVector This returns a read and writeable vector of a DoubleColumn
(Defined by DataColumnWrapper)
Public Extension MethodToVector This returns a read and writeable vector of a DoubleColumn
(Defined by DataColumnWrapper)
Public Extension MethodToVertMatrix This returns a read and writeable, vertical oriented matrix of a DoubleColumn
(Defined by DataColumnWrapper)
Public Extension MethodToVertROMatrix This returns a vertical oriented, readonly matrix of a DoubleColumn
(Defined by DataColumnWrapper)
Top
See Also