Click or drag to resize

TsExtensions Class

Extension methods related to Time series
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Generic.TimeSeriesTsExtensions

Namespace:  DHI.Mike1D.Generic.TimeSeries
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static class TsExtensions

The TsExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetNextTransitionTime(TsItem, DateTime)
Returns the next transition time after the given dateTime for the time series item. A transition time is a time where the value of the time series item changes next.

If the specified time is equal to the latest time of the item, then the latest time is returned.

Public methodStatic memberGetNextTransitionTime(TsItem, TsTime, DateTime)
Returns the next transition time after the given dateTime for the time series item. A transition time is a time where the value of the time series item changes next.

If the specified time is equal to the latest time of the item, then the latest time is returned.

Public methodStatic memberIsAccumulated
Returns true if the TsItemValueType is one of the accumulated ones - Accumulated or StepAccumulated.

For the other types, false is returned.

Public methodStatic memberStartTime
Get the start time of a calendar axis.

Will throw an exception in case of a time axis

Top
See Also