Click or drag to resize

UtilNextTimeAfter Method

Returns the next time after currentTime, being an integer multiplum of dt after startTime

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static DateTime NextTimeAfter(
	DateTime startTime,
	TimeSpan dt,
	DateTime currentTime
)

Parameters

startTime
Type: SystemDateTime

[Missing <param name="startTime"/> documentation for "M:DHI.Mike1D.Generic.Util.NextTimeAfter(System.DateTime,System.TimeSpan,System.DateTime)"]

dt
Type: SystemTimeSpan

[Missing <param name="dt"/> documentation for "M:DHI.Mike1D.Generic.Util.NextTimeAfter(System.DateTime,System.TimeSpan,System.DateTime)"]

currentTime
Type: SystemDateTime

[Missing <param name="currentTime"/> documentation for "M:DHI.Mike1D.Generic.Util.NextTimeAfter(System.DateTime,System.TimeSpan,System.DateTime)"]

Return Value

Type: DateTime

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.Util.NextTimeAfter(System.DateTime,System.TimeSpan,System.DateTime)"]

See Also