BoundaryExtensionsFindTimeNextValue Method

Findes the time where the boundary source has a value that is non-zero. The time interval is within the provided limits.

Definition

Namespace: DHI.Mike1D.BoundaryModule
Assembly: DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static DateTime FindTimeNextValue(
	this IBoundarySource source,
	DateTime startTime,
	DateTime endTime
)

Parameters

source  IBoundarySource
Source to search for values in
startTime  DateTime
Time where to start searching
endTime  DateTime
End time, where search will end.

Return Value

DateTime
Time where boundary source has the next nonzero value, or endTime if not found

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IBoundarySource. 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