ModelStateExtensionsReadRelativeTimes Method

For newer the version of state files the time buffers associated with different items are relative to the state time. This allows for consistent results whether the StateTime is used as simulation start time or not If the file is older the time buffers are in DateTime format still.

Definition

Namespace: DHI.Mike1D.ModelState
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static DateTime[] ReadRelativeTimes(
	this ModelStateReader reader,
	string parameterName
)

Parameters

reader  ModelStateReader

[Missing <param name="reader"/> documentation for "M:DHI.Mike1D.ModelState.ModelStateExtensions.ReadRelativeTimes(DHI.Mike1D.ModelState.ModelStateReader,System.String)"]

parameterName  String

[Missing <param name="parameterName"/> documentation for "M:DHI.Mike1D.ModelState.ModelStateExtensions.ReadRelativeTimes(DHI.Mike1D.ModelState.ModelStateReader,System.String)"]

Return Value

DateTime

[Missing <returns> documentation for "M:DHI.Mike1D.ModelState.ModelStateExtensions.ReadRelativeTimes(DHI.Mike1D.ModelState.ModelStateReader,System.String)"]

Usage Note

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