Click or drag to resize

DfsExtensionsTimeStepInSeconds Method (IDfsTemporalAxis)

Calculate the time step in seconds for an equidistant temporal axis.

If the time axis is not equidistant, zero is returned.

If the time axis unit can not be converted to seconds, an exception is thrown

Namespace:  DHI.Generic.MikeZero.DFS
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static double TimeStepInSeconds(
	this IDfsTemporalAxis timeAxis
)

Parameters

timeAxis
Type: DHI.Generic.MikeZero.DFSIDfsTemporalAxis

Return Value

Type: Double

Usage Note

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