DfsExtensionsTimeSpan Method |
Time span of all data in file, in unit described by
TimeUnit.
The StartTimeOffset is not included in the span. The span
starts at the time of the StartTimeOffset
Convenience method that returns/calculates the time span consistently for all
types of time axes,
Namespace: DHI.Generic.MikeZero.DFSAssembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public static double TimeSpan(
this IDfsTemporalAxis timeAxis
)
<ExtensionAttribute>
Public Shared Function TimeSpan (
timeAxis As IDfsTemporalAxis
) As Double
public:
[ExtensionAttribute]
static double TimeSpan(
IDfsTemporalAxis^ timeAxis
)
[<ExtensionAttribute>]
static member TimeSpan :
timeAxis : IDfsTemporalAxis -> float
Parameters
- timeAxis
- Type: DHI.Generic.MikeZero.DFSIDfsTemporalAxis
Return Value
Type:
DoubleUsage 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