ModelStateExtensionsReadRelativeTime Method
For newer the version of state files the time associated with different
items is 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 times are in DateTime format still.
Namespace: DHI.Mike1D.ModelStateAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public static DateTime ReadRelativeTime(
this ModelStateReader reader,
string parameterName
)
- reader ModelStateReader
[Missing <param name="reader"/> documentation for "M:DHI.Mike1D.ModelState.ModelStateExtensions.ReadRelativeTime(DHI.Mike1D.ModelState.ModelStateReader,System.String)"]
- parameterName String
[Missing <param name="parameterName"/> documentation for "M:DHI.Mike1D.ModelState.ModelStateExtensions.ReadRelativeTime(DHI.Mike1D.ModelState.ModelStateReader,System.String)"]
DateTime[Missing <returns> documentation for "M:DHI.Mike1D.ModelState.ModelStateExtensions.ReadRelativeTime(DHI.Mike1D.ModelState.ModelStateReader,System.String)"]
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).