IBoundaryItemGetNextTransitionTime Method

Gets the next time for which there is a different value in the boundary item.

Definition

Namespace: DHI.Mike1D.BoundaryModule
Assembly: DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
DateTime GetNextTransitionTime(
	DateTime date
)

Parameters

date  DateTime
Date to start searching for a new value from. The date must be within the application interval of the item, check IsApplicable(DateTime) before calling this

Return Value

DateTime
Time of the next new value

Remarks

For unknown types of boundary items the default is to return the incoming date as the next transition time, indicating it is unknown if/when the next transition actually takes place. A boundaryitem can also return MaxValue, indicating that the item never changes value.

Many types of items will return the incoming date as the result.

See Also