Click or drag to resize

BoundaryItemPeriodicMonthlyGetNextTransitionTime Method

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

Namespace:  DHI.Mike1D.BoundaryModule
Assembly:  DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public DateTime GetNextTransitionTime(
	DateTime date
)

Parameters

date
Type: SystemDateTime
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

Type: DateTime
Time of the next new value

Implements

IBoundaryItemGetNextTransitionTime(DateTime)
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