Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic Duration AddDays(
double days
)
Public Function AddDays (
days As Double
) As Duration
public:
Duration AddDays(
double days
)
member AddDays :
days : float -> Duration
Parameters
- days
- Type: SystemDouble
The number of days to add.
Return Value
Type:
DurationA new
Duration which is the sum of the original
Duration and the specified number of days.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Thrown if the result represents a value too large to be stored in a Duration.
|
See Also