DurationFromSeconds Method (Double) |
Returns a
Duration that represents the specified number of seconds.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static Duration FromSeconds(
double seconds
)
Public Shared Function FromSeconds (
seconds As Double
) As Duration
public:
static Duration FromSeconds(
double seconds
)
static member FromSeconds :
seconds : float -> Duration
Parameters
- seconds
- Type: SystemDouble
The number of seconds to be represented by the returned Duration.
Return Value
Type:
DurationA
Duration representing the specified number of seconds.
Exceptions See Also