DurationFromMinutes Method (Double) |
Returns a
Duration that represents the specified number of minutes.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic static Duration FromMinutes(
double minutes
)
Public Shared Function FromMinutes (
minutes As Double
) As Duration
public:
static Duration FromMinutes(
double minutes
)
static member FromMinutes :
minutes : float -> Duration
Parameters
- minutes
- Type: SystemDouble
The number of minutes to be represented by the returned Duration.
Return Value
Type:
DurationA
Duration representing the specified number of minutes.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Thrown if the result represents a value too large to be stored in a Duration.
|
See Also