Click or drag to resize

DateTimeTable2D Class

2D table with DateTime as the type of values in the first axis.

If setting the YearlyVariation, then all dates within the first year in the XAxis is assumed to be cyclicly repeating.

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericDateTimeTable2D

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class DateTimeTable2D : IAnyTable

The DateTimeTable2D type exposes the following members.

Constructors
  NameDescription
Public methodDateTimeTable2D
Constructor, creating arrays of specified size
Top
Properties
  NameDescription
Public propertyTableValues
Table-values
Public propertyXAxis
X-axis values
Public propertyYAxis
Y-axis values
Public propertyYearlyVariation
Bool indicating if table contains circular values, as yearly variation values. In this case all DateTime values in XAxis must be in the same year. DateTime values, which are not in the same year as the first item in the list, are discarded.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLookup
Lookup data in table for given date and y-value
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepare
Prepare table for lookup.

When YearlyVariation is set, the date-time axis is processed for circular lookup.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also