Duration Constructor (Int32, Double) |
Initializes a new instance of
Duration from a specified number
of days and seconds. The time standard is not specified, so this
Duration
will match the time standard of anything it is added to or subtracted from.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic Duration(
int days,
double seconds
)
Public Sub New (
days As Integer,
seconds As Double
)
public:
Duration(
int days,
double seconds
)
new :
days : int *
seconds : float -> Duration
Parameters
- days
- Type: System.Int32
The number of days in the new Duration. - seconds
- Type: System.Double
The number of seconds in the new Duration.
Exceptions
See Also