DurationFromDays Method (Double, TimeStandard) |
Returns a
Duration that represents the specified number of days
using the specified time standard.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static Duration FromDays(
double days,
TimeStandard standard
)
Public Shared Function FromDays (
days As Double,
standard As TimeStandard
) As Duration
public:
static Duration FromDays(
double days,
TimeStandard^ standard
)
static member FromDays :
days : float *
standard : TimeStandard -> Duration
Parameters
- days
- Type: SystemDouble
The number of days to be represented by the returned Duration. - standard
- Type: AGI.Foundation.TimeTimeStandard
The time standard of the new Duration.
Return Value
Type:
DurationA
Duration representing the specified number of days.
Exceptions See Also