TsExtensionsGetNextTransitionTime Method (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.
Namespace:
DHI.Mike1D.Generic.TimeSeries
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public static DateTime GetNextTransitionTime(
this TsItem item,
DateTime dateTime
)
Parameters
- item
- Type: DHI.Mike1D.Generic.TimeSeriesTsItem
Time series item to get transition time for - dateTime
- Type: SystemDateTime
Date time to start search. It must be within the time series time.
Return Value
Type:
DateTimeNext time where time series item changes its value, or end time of time series
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
TsItem. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also